feat(app): lint

This commit is contained in:
ItzCrazyKns 2024-07-31 20:17:57 +05:30
parent 96f67c7028
commit c4932c659a
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065
3 changed files with 41 additions and 30 deletions

View file

@ -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}`);
});