From 901c1684235a22a5f747dd780c3bd1ab3e3114a3 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 26 Aug 2007 15:09:03 +0000 Subject: Report plugin loading failues as errors, not as warnings --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 9cdf73a9..99ae31b6 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -366,7 +366,7 @@ module Plugins return :loaded rescue Exception => err # rescue TimeoutError, StandardError, NameError, LoadError, SyntaxError => err - warning report_error("#{desc}#{fname} load failed", err) + error report_error("#{desc}#{fname} load failed", err) bt = err.backtrace.select { |line| line.match(/^(\(eval\)|#{fname}):\d+/) } -- cgit v1.2.3