diff --git a/index.js b/index.js index b7febc81..7b932513 100644 --- a/index.js +++ b/index.js @@ -21,4 +21,5 @@ client.on("disconnect", () => client.logger.log("Bot is disconnecting...", "warn .on("reconnecting", () => client.logger.log("Bot reconnecting...", "warn")) .on("warn", warn => client.logger.log(warn, "warn")) .on("error", e => client.logger.log(`${e.message}\n${e.stack}`, "error")); -process.on("unhandledRejection", e => console.log(e)); \ No newline at end of file +process.on("unhandledRejection", e => console.log(e)); +process.on("uncaughtException", e => console.log(e)); \ No newline at end of file