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

Commit

Permalink
Merge pull request #270 from chiahrens/errMsg
Browse files Browse the repository at this point in the history
Fixed error message so that if it is a string and not an object, it p…
  • Loading branch information
cahrens777 authored Jul 19, 2019
2 parents 975b237 + c148f01 commit e33c78d
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}`);
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 e33c78d

Please sign in to comment.