]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/ircbot.rb
Minor tweaks to httputil: make last response available in @last_resp for get and...
[user/henk/code/ruby/rbot.git] / lib / rbot / ircbot.rb
index 3c2de268c267acbeeacbd98c3cfa7e4d31b4aeb5..432b61c40d4180653331bb5f5152d7ad098203e3 100644 (file)
@@ -606,7 +606,7 @@ class IrcBot
       rescue SystemExit
         log_session_end
         exit 0
-      rescue Errno::ETIMEDOUT, TimeoutError, SocketError => e
+      rescue Errno::ETIMEDOUT, Errno::ECONNABORTED, TimeoutError, SocketError => e
         error "network exception: #{e.class}: #{e}"
         debug e.backtrace.join("\n")
       rescue BDB::Fatal => e