Forgot to join the backtrace array with newlines for better output
This commit is contained in:
parent
673fa0eebc
commit
8e91b5f737
@ -54,7 +54,7 @@ module Guard
|
|||||||
begin
|
begin
|
||||||
@action.arity > 0 ? @action.call(matches) : @action.call
|
@action.arity > 0 ? @action.call(matches) : @action.call
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
UI.error "Problem with watch action!\n#{e.message}\n\n#{e.backtrace}"
|
UI.error "Problem with watch action!\n#{e.message}\n\n#{e.backtrace.join("\n")}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user