We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c444e70 commit 8d881ceCopy full SHA for 8d881ce
src/index.js
@@ -64,7 +64,8 @@ class ProcessManager {
64
65
exit() {
66
if (this.errors.length > 0) {
67
- this.log.error({ errors: this.errors }, 'Exiting with errors');
+ this.log.error(`Exiting with ${this.errors.length} error${this.errors.length > 1 ? 's' : ''}`);
68
+ this.errors.forEach(err => this.log.error(err));
69
70
// Output console to error in case no `DEBUG` namespace has been set.
71
// This mimicks the default node behaviour of not silencing errors.
0 commit comments