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 #282 from TestArmada/handle-uncaught-exception
Browse files Browse the repository at this point in the history
Do not abort on uncaught exception
  • Loading branch information
cahrens777 authored May 29, 2020
2 parents 15f58fc + 15b8fcc commit b7f7c5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/magellan
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const cli = require("../src/cli");
const settings = require("../src/settings");
const constants = require("../src/constants");

process.on("uncaughtException", function (error) {
console.trace("Magellan uncaughtException", error);
});

co(function *() {
cli.version();

Expand Down

0 comments on commit b7f7c5d

Please sign in to comment.