Haha-Yes/events/process/unhandledRejection.js

8 lines
153 B
JavaScript
Raw Normal View History

2022-06-17 02:08:26 +02:00
export default {
name: 'unhandledRejection',
once: true,
async execute(error) {
console.error('Unhandled promise rejection:', error);
}
}