Haha-Yes/events/process/uncaughtException.js

7 lines
147 B
JavaScript
Raw Permalink Normal View History

export default {
name: 'uncaughtException',
async execute(error) {
return console.error(`\x1b[31mUncaughtException: ${error}\x1b[37m`);
},
};