]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
grouphug: log errors
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 8 Feb 2009 13:04:36 +0000 (14:04 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 8 Feb 2009 13:04:36 +0000 (14:04 +0100)
data/rbot/plugins/grouphug.rb

index 90527fb7f61db1cd75bc67bfd98fc614daf58249..5a1890a23898acab28608d806089f2a98ba74a62 100644 (file)
@@ -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