Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Fixed error message so that if it is a string and not an object, it p…
Browse files Browse the repository at this point in the history
…rints out the string and not undefined
  • Loading branch information
cahrens committed Jul 17, 2019
1 parent f06a9b9 commit c148f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/magellan
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ co(function *() {
break;

default:
logger.err(`Error while running Magellan: ${err.message || msg}`);
logger.err(`Error while running Magellan: ${err.message || err}`);
logger.err(err.stack);
// we exit magellan process by providing code directly
process.exit(1);
Expand Down

0 comments on commit c148f01

Please sign in to comment.