lib/command/update/general_lastup_updater.rb in narou-3.8.2 vs lib/command/update/general_lastup_updater.rb in narou-3.9.0
- old
+ new
@@ -68,10 +68,10 @@
dates = {
"novelupdated_at" => downloader.get_novelupdated_at,
"general_lastup" => downloader.get_general_lastup,
"length" => downloader.novel_length
}
- rescue OpenURI::HTTPError, Errno::ECONNRESET, Errno::ETIMEDOUT, Net::OpenTimeout
+ rescue OpenURI::HTTPError, Errno::ECONNRESET, Errno::ETIMEDOUT, Net::OpenTimeout, IO::TimeoutError
next
end
data = @database[id]
data.merge!(dates)
last_check_date = data["last_check_date"] || data["last_update"]