From 5be1e8e5b016c29bcb862c400b222e608c846153 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 17 Oct 2021 19:19:53 +0300 Subject: [PATCH] debug: include guild id in RecoverablePluginError logs --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 9d275a94..28a9d0be 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -65,7 +65,7 @@ function errorHandler(err) { // Log it in the console as a warning and post a warning to the guild's log. // tslint:disable:no-console - console.warn(`${guildName}: [${err.code}] ${err.message}`); + console.warn(`${guildId} ${guildName}: [${err.code}] ${err.message}`); if (err.guild) { const logs = new GuildLogs(err.guild.id);