summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-08 14:04:36 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-08 14:04:36 +0100
commitedbd40c4a968645bd340a7300b429bd4856ee5b8 (patch)
treef129479adf675a811302a44d373d3044edd71bc1 /data/rbot
parentfb1e04dace26442dde5c6d2a924581ad3fb45518 (diff)
grouphug: log errors
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/grouphug.rb3
1 files changed, 2 insertions, 1 deletions
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