2024-08-01 22:42:37 +03:00

4 lines
76 B
JavaScript

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