2024-08-01 22:35:20 +03:00

4 lines
76 B
JavaScript

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