Skip to content

Commit

Permalink
feat(mongo): make error logging consistent
Browse files Browse the repository at this point in the history
Signed-off-by: Brent Hoover <brent@thebuddhalodge.com>
  • Loading branch information
brent-hoover committed Oct 19, 2020
1 parent 7f197a1 commit 4e5d8c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ function register(program) {
parsedUrl.username = "USER";
parsedUrl.password = "PASS";
} catch (error) {
log("Error parsing URL", error);
log(error.stack || error, "error");
process.exit(1);
}


Expand Down

0 comments on commit 4e5d8c7

Please sign in to comment.