mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-26 05:45:43 +08:00
Include exception message in bacon error output
This commit is contained in:
@@ -413,10 +413,10 @@ module Bacon
|
||||
|
||||
@error = if e.kind_of? Error
|
||||
Counter[e.count_as] += 1
|
||||
e.count_as.to_s.upcase
|
||||
"#{e.count_as.to_s.upcase} - #{e}"
|
||||
else
|
||||
Counter[:errors] += 1
|
||||
"ERROR: #{e.class}"
|
||||
"ERROR: #{e.class} - #{e}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user