From 0760e8db8e73bff8b3e252898f3ef7e7510ffbf7 Mon Sep 17 00:00:00 2001 From: Joe Alves Date: Fri, 31 Jul 2015 16:58:39 -0400 Subject: [PATCH] Simplify and improve initialization process error reporting --- generated/server/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/generated/server/main.js b/generated/server/main.js index eb8c9d9..80410f5 100644 --- a/generated/server/main.js +++ b/generated/server/main.js @@ -25,7 +25,6 @@ var startServer = function () { }; startDb.then(createApplication).then(startServer).catch(function (err) { - console.error('Initialization error:', chalk.red(err.message)); - console.error('Process terminating . . .'); + console.error(chalk.red(err.stack)); process.kill(1); -}); \ No newline at end of file +});