diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 15:09:03 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 15:09:03 +0000 |
commit | 901c1684235a22a5f747dd780c3bd1ab3e3114a3 (patch) | |
tree | 5fb22b35a12c8214ff04d7e77f365947cebccd59 /lib | |
parent | 73c69ae7f8a433d7daa886e322083c113bd63c9c (diff) |
Report plugin loading failues as errors, not as warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/plugins.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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+/) } |