Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
runner: Provide details (stdout/stderr) in unexpected errors
Browse files Browse the repository at this point in the history
So we can see how long we've come, and potentially get hints about reason
  • Loading branch information
jonnor committed Aug 29, 2016
1 parent 33d15a8 commit e9e2526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class PhantomProcess
err.stack = err.stack.replace(details, '...')
callback err
else if not @stopping
err = new Error "JsJob child process terminated unexpectedly #{code} #{signal}"
err = new Error "JsJob child process terminated unexpectedly #{code} #{signal}:#{details}"
callback err
else if @stopping and @cancelError
callback @cancelError
Expand Down

0 comments on commit e9e2526

Please sign in to comment.