diff --git a/backend/src/utils/hotfixMessageFetch.ts b/backend/src/utils/hotfixMessageFetch.ts index 5afea774..658c5aaf 100644 --- a/backend/src/utils/hotfixMessageFetch.ts +++ b/backend/src/utils/hotfixMessageFetch.ts @@ -9,11 +9,13 @@ export function hotfixMessageFetch(channel: TextChannel | ThreadChannel, message const thisN = ++n; // tslint:disable-next-line:no-console - console.log(`[${thisN}] Queueing to fetch message id ${messageId} from channel ${channel.id}`); + console.trace( + `[${thisN}] Queueing to fetch message id ${messageId} from channel ${channel.id} (queue size: ${queue.length})`, + ); return queue.add(async () => { await sleep(3000); // tslint:disable-next-line:no-console - console.trace(`[${thisN}] Fetching message id ${messageId} from channel ${channel.id}`); + console.log(`[${thisN}] Fetching message id ${messageId} from channel ${channel.id}`); return channel.messages.fetch(messageId); }); }