From 92b556d6925a12a00f1f40ee48240fd9cb72d324 Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Fri, 21 Sep 2007 18:02:54 +0000 Subject: * (core/auth) more debug logging on exceptions --- lib/rbot/core/auth.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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 } -- cgit v1.2.3