diff --git a/src/client/events/uncaughtException.js b/src/client/events/uncaughtException.js index ba3d8ac..cf73d98 100644 --- a/src/client/events/uncaughtException.js +++ b/src/client/events/uncaughtException.js @@ -1,7 +1,10 @@ module.exports = { name: 'uncaughtException', execute(client, error) { + this.funcs.logger("Error"); console.log(error.stack); + console.log(''); + process.emit('SIGINT'); } }