diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-02-08 14:04:36 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-02-08 14:04:36 +0100 |
commit | edbd40c4a968645bd340a7300b429bd4856ee5b8 (patch) | |
tree | f129479adf675a811302a44d373d3044edd71bc1 | |
parent | fb1e04dace26442dde5c6d2a924581ad3fb45518 (diff) |
grouphug: log errors
-rw-r--r-- | data/rbot/plugins/grouphug.rb | 3 |
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 |