Forgot to join the backtrace array with newlines for better output

This commit is contained in:
Julio Capote 2011-06-22 17:00:15 -07:00
parent 673fa0eebc
commit 8e91b5f737

View File

@ -54,7 +54,7 @@ module Guard
begin
@action.arity > 0 ? @action.call(matches) : @action.call
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