Skip to content

Commit

Permalink
feat(@angular-devkit/schematics-cli): show error stacks instead of me…
Browse files Browse the repository at this point in the history
…ssage

Otherwise its impossible to debug.
  • Loading branch information
hansl committed Jun 6, 2018
1 parent a80ab6e commit 68bff2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular_devkit/schematics_cli/bin/schematics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ workflow.execute({
} else if (debug) {
logger.fatal('An error occured:\n' + err.stack);
} else {
logger.fatal(err.message);
logger.fatal(err.stack || err.message);
}

process.exit(1);
Expand Down

0 comments on commit 68bff2e

Please sign in to comment.