]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/wserver.rb
Clean up logging from the plugins
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / wserver.rb
index fb4738c173a13bcd6e662227478e5c6c97071d34..1baa0d90c9a9504f05c8f098dfd37a2f9dc7b1e5 100644 (file)
@@ -61,7 +61,7 @@ class WserverPlugin < Plugin
       hostname = err.message
       retry
     rescue StandardError => err
-      puts err
+      error err.inspect
       m.reply "couldn't connect to #{uri.host}:#{uri.port} :("
       return
     end