2024-08-01 22:40:48 +03:00

4 lines
76 B
JavaScript

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