Skip to content

Commit

Permalink
Update lib/cli/run.js
Browse files Browse the repository at this point in the history
Do not change the original functionality.

Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
  • Loading branch information
stalet and voxpelli authored Jan 26, 2024
1 parent d9e64ad commit 8b7613c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ exports.handler = async function (argv) {
if (!err) {
console.error('\n Undefined error:', err);
} else {
console.error('\n' + (err.stack || `Error: ${err.message}`), err);
console.error('\n' + (err.stack || `Error: ${err.message || err}`));
}

process.exit(1);
Expand Down

0 comments on commit 8b7613c

Please sign in to comment.