diff --git a/bin/magellan b/bin/magellan index 81373f0..d93645d 100755 --- a/bin/magellan +++ b/bin/magellan @@ -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();