Remove not needed 'then' clause
Summary: ^ Reviewed By: antonk52 Differential Revision: D48826887 fbshipit-source-id: 3ecc77d326bd7ddfa5e9f125012d6854f1692010
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2858259497
commit
3bfe9a1f98
@@ -344,9 +344,7 @@ process.on('unhandledRejection', (reason, promise) => {
|
||||
);
|
||||
});
|
||||
|
||||
start()
|
||||
.then(() => {})
|
||||
.catch((e) => {
|
||||
console.error(chalk.red('Server startup error: '), e);
|
||||
process.exit(1);
|
||||
});
|
||||
start().catch((e) => {
|
||||
console.error(chalk.red('Server startup error: '), e);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user