Print an unhandled exception as a single error, not multiple errors (#2595)
This commit is contained in:
parent
b1c9386926
commit
ec05610f2d
|
@ -186,8 +186,9 @@ export function run(argv: minimist.ParsedArgs, programStarted: () => void) {
|
|||
log.error(message, err.resource);
|
||||
}
|
||||
else {
|
||||
log.error(`Running program '${program}' failed with an unhandled exception:`);
|
||||
log.error(defaultMessage);
|
||||
log.error(
|
||||
`Running program '${program}' failed with an unhandled exception:
|
||||
${defaultMessage}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue