feat(app): lint
This commit is contained in:
parent
96f67c7028
commit
c4932c659a
3 changed files with 41 additions and 30 deletions
|
@ -30,9 +30,9 @@ server.listen(port, () => {
|
|||
startWebSocketServer(server);
|
||||
|
||||
process.on('uncaughtException', (err, origin) => {
|
||||
logger.error(`Uncaught Exception at ${origin}: ${err}`)
|
||||
})
|
||||
logger.error(`Uncaught Exception at ${origin}: ${err}`);
|
||||
});
|
||||
|
||||
process.on('unhandledRejection', (reason, promise) => {
|
||||
logger.error(`Unhandled Rejection at: ${promise}, reason: ${reason}`)
|
||||
})
|
||||
logger.error(`Unhandled Rejection at: ${promise}, reason: ${reason}`);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue