2024-08-01 22:43:51 +03:00

4 lines
76 B
JavaScript

process.on('unhandledRejection', reason => {
throw new Error(reason);
});