tools: add log output to crashes
PR-URL: https://github.com/nodejs/node/pull/20295 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
parent
db10473e57
commit
a4b4854e2f
@ -298,10 +298,8 @@ class TapProgressIndicator(SimpleProgressIndicator):
|
||||
|
||||
if output.HasCrashed():
|
||||
self.severity = 'crashed'
|
||||
exit_code = output.output.exit_code
|
||||
self.traceback = "oh no!\nexit code: " + PrintCrashed(exit_code)
|
||||
|
||||
if output.HasTimedOut():
|
||||
elif output.HasTimedOut():
|
||||
self.severity = 'fail'
|
||||
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user