diff options
Diffstat (limited to 'data/rbot/plugins/slashdot.rb')
-rw-r--r-- | data/rbot/plugins/slashdot.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/slashdot.rb b/data/rbot/plugins/slashdot.rb index 69f1566f..2c4a2361 100644 --- a/data/rbot/plugins/slashdot.rb +++ b/data/rbot/plugins/slashdot.rb @@ -75,9 +75,9 @@ class SlashdotPlugin < Plugin debug xml.inspect begin doc = Document.new xml - rescue REXML::ParseException => e - warning e.inspect - m.reply "couldn't parse output XML: #{e.class}" + rescue REXML::ParseException => err + warning err.inspect + m.reply "couldn't parse output XML: #{err.class}" return end unless doc |