From 387379269af8a9380c41755d03cfecda47cc4e75 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 12 May 2024 01:55:11 -0600 Subject: [PATCH] Update error logging in index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d3b859e..4243552 100644 --- a/index.js +++ b/index.js @@ -1135,7 +1135,7 @@ discord.on("guildDelete", (guild) => { }) process.on("unhandledRejection", (error) => { - console.log(`${colors.red("[ERROR]")} Unhandled Rejection: ${error.message}`); + console.log(`${colors.red("[ERROR]")} Unhandled Rejection: ${error.stack}`); if (false) { fetch(config.ntfy.server, { method: 'POST',