Closed irham01 closed 2 years ago
+1
ini kenapa yah bang?
process .on('unhandledRejection', (reason, p) => { console.error(reason, 'Unhandled Rejection at Promise', p); }) .on('uncaughtException', err => { console.error(err, 'Uncaught Exception thrown'); process.exit(1); });
Detail : https://stackoverflow.com/questions/40867345/catch-all-uncaughtexception-for-node-js-app
ini kenapa yah bang?