From 22c45cb590f27502cb460626f5548307c82b3727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 17 Dec 2023 07:17:26 +0200 Subject: [PATCH] Update uncaughtException event --- src/client/events/uncaughtException.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/events/uncaughtException.ts b/src/client/events/uncaughtException.ts index b0d8536..78c1002 100644 --- a/src/client/events/uncaughtException.ts +++ b/src/client/events/uncaughtException.ts @@ -5,6 +5,7 @@ export default function uncaughtException(client: RadioClient, error: Error) { console.log(error.stack); console.log(''); + console.log(error.name + "/" + error.message); if(error.name == "DiscordAPIError" && error.message == "Unknown interaction") return; process.emit('SIGINT'); }