diff options
-rw-r--r-- | lib/rbot/ircsocket.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb index df1f4e8a..7b4175de 100644 --- a/lib/rbot/ircsocket.rb +++ b/lib/rbot/ircsocket.rb @@ -106,7 +106,8 @@ module Irc reply.strip! if reply debug "RECV: #{reply.inspect}" return reply - rescue + rescue => e + debug "socket get failed: #{e}" return nil end end |