diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-09-21 18:02:54 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-09-21 18:02:54 +0000 |
commit | 92b556d6925a12a00f1f40ee48240fd9cb72d324 (patch) | |
tree | 3115cdb139255ca63198c00dc65c49aa13652c03 | |
parent | 60a1529f8fd691328a6f4e0499f40cfbd655bac7 (diff) |
* (core/auth) more debug logging on exceptions
-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
}
|