Commit 206ca28
authored
Make stdout available on error
When the process exits with an error, include the stdout output as well as the error. This makes debugging script failures more straightforward since the rest of the output is available.
For example:
print('hello world')
raise Exception('goodbye world')
callback() will now receive both "goodbye world" error, and the "hello world" output.1 parent f523170 commit 206ca28
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
| 287 | + | |
289 | 288 | | |
290 | 289 | | |
291 | 290 | | |
| |||
0 commit comments