From a5ea2be87a7d433f9e4733a5f564b3f85dffa710 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 27 Jan 2022 11:07:47 +0200 Subject: [PATCH] better error msg --- structure/ChannelHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structure/ChannelHandler.js b/structure/ChannelHandler.js index ec25988..c79bd39 100644 --- a/structure/ChannelHandler.js +++ b/structure/ChannelHandler.js @@ -259,7 +259,7 @@ class ChannelHandler { delete this.modmail.cache.channels[userId]; } }).catch((err) => { - this.client.logger.error(`Failed to delete channel from graveyard during sweep:\n${err.stack}`); + this.client.logger.error(`Failed to delete channel ${channel?.id || channel} from graveyard during sweep:\n${err.stack}`); }); channelCount++; }