From 86ccae016b8f893aaacf53048aa6b5aefaf8b3c7 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 19 Aug 2021 00:59:28 +0300 Subject: [PATCH] +debug --- backend/src/utils/hotfixMessageFetch.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/utils/hotfixMessageFetch.ts b/backend/src/utils/hotfixMessageFetch.ts index b0859fd6..5810f6cc 100644 --- a/backend/src/utils/hotfixMessageFetch.ts +++ b/backend/src/utils/hotfixMessageFetch.ts @@ -7,6 +7,8 @@ const queue = new Queue(); export function hotfixMessageFetch(channel: TextChannel | ThreadChannel, messageId: string): Promise { return queue.add(async () => { await sleep(3000); + // tslint:disable-next-line:no-console + console.trace(`Fetching message id ${messageId} from channel ${channel.id}`); return channel.messages.fetch(messageId); }); }