Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 8a36513

Browse files
committed
feat(@angular-devkit/schematics-cli): show error stacks instead of message
Otherwise its impossible to debug.
1 parent 1063315 commit 8a36513

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/angular_devkit/schematics_cli/bin/schematics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ workflow.execute({
260260
} else if (debug) {
261261
logger.fatal('An error occured:\n' + err.stack);
262262
} else {
263-
logger.fatal(err.message);
263+
logger.fatal(err.stack || err.message);
264264
}
265265

266266
process.exit(1);

0 commit comments

Comments
 (0)