From edbd40c4a968645bd340a7300b429bd4856ee5b8 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 8 Feb 2009 14:04:36 +0100 Subject: grouphug: log errors --- data/rbot/plugins/grouphug.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/grouphug.rb b/data/rbot/plugins/grouphug.rb index 90527fb7..5a1890a2 100644 --- a/data/rbot/plugins/grouphug.rb +++ b/data/rbot/plugins/grouphug.rb @@ -71,7 +71,8 @@ class GrouphugPlugin < Plugin confession = @confessions.pop m.reply confession end - rescue + rescue Exception => e + error e m.reply "failed to connect to grouphug.us" end end -- cgit v1.2.3