diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js index 74374ea132..a6e803bf34 100644 --- a/support/aphlict/server/aphlict_server.js +++ b/support/aphlict/server/aphlict_server.js @@ -65,7 +65,8 @@ var http = require('http'); var url = require('url'); process.on('uncaughtException', function(err) { - debug.log("\n<<< UNCAUGHT EXCEPTION! >>>\n\n" + err); + debug.log("\n<<< UNCAUGHT EXCEPTION! >>>\n" + err.stack); + process.exit(1); });