Skip to content

Commit

Permalink
Simplify and improve initialization process error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Alves committed Jul 31, 2015
1 parent ee0ed24 commit 0760e8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions generated/server/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit 0760e8d

Please sign in to comment.