From e26f59c40ae758411d6814a0853b928ceffcbded Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 29 Jul 2007 19:10:14 +0000 Subject: Add missing space in message --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index bc5211b5..28ca4a7d 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -554,7 +554,7 @@ module Plugins # debug "Failures: #{@failed.inspect}" return _("no plugins failed to load") if @failed.empty? return @failed.collect { |p| - _('%{highlight}%{plugin}%{highlight} in %{dir}failed with error %{exception}: %{reason}') % { + _('%{highlight}%{plugin}%{highlight} in %{dir} failed with error %{exception}: %{reason}') % { :highlight => Bold, :plugin => p[:name], :dir => p[:dir], :exception => p[:reason].class, :reason => p[:reason], } + if $1 && !p[:reason].backtrace.empty? -- cgit v1.2.3