Skip to content

Commit

Permalink
feat(server): console.log fatal error along with logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalovelo committed Oct 3, 2022
1 parent 2ef7e6a commit dd450c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const start = (port: string | number) => {
});
} catch (err) {
logger.error(`Fatal error: ${err.toString()}`);
console.log(`Fatal error: ${err.toString()}`);
process.exit();
}
};
Expand Down

0 comments on commit dd450c7

Please sign in to comment.