diff options
-rw-r--r-- | lib/rbot/core/auth.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index 07cc83f4..4c837f13 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -495,7 +495,9 @@ class AuthModule < CoreBotModule splits[2..-1].each { |mask|
begin
butarget.send(method, mask.to_irc_netmask(:server => @bot.server))
- rescue
+ rescue => e
+ debug "failed with #{e.message}"
+ debug e.backtrace.join "\n"
failed << mask
end
}
|