//src/server.tsprocess.on('unhandledRejection',()=>{console.log(`😈 unahandledRejection is detected , shutting down ...`);if (server){server.close(()=>{process.exit(1);});}process.exit(1);});process.on('uncaughtException',()=>{console.log(`😈 uncaughtException is detected , shutting down ...`);process.exit(1);});
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)