summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-09-21 18:02:54 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-09-21 18:02:54 +0000
commit92b556d6925a12a00f1f40ee48240fd9cb72d324 (patch)
tree3115cdb139255ca63198c00dc65c49aa13652c03 /lib
parent60a1529f8fd691328a6f4e0499f40cfbd655bac7 (diff)
* (core/auth) more debug logging on exceptions
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/auth.rb4
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
}