Haha-Yes/events/process/uncaughtException.js

6 lines
147 B
JavaScript

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