Skip to content

Commit 0760e8d

Browse files
author
Joe Alves
committed
Simplify and improve initialization process error reporting
1 parent ee0ed24 commit 0760e8d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

generated/server/main.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ var startServer = function () {
2525
};
2626

2727
startDb.then(createApplication).then(startServer).catch(function (err) {
28-
console.error('Initialization error:', chalk.red(err.message));
29-
console.error('Process terminating . . .');
28+
console.error(chalk.red(err.stack));
3029
process.kill(1);
31-
});
30+
});

0 commit comments

Comments
 (0)