From 7ebdf6eae4b0f099087dd158a47d5a2ec8a1da26 Mon Sep 17 00:00:00 2001 From: pinks Date: Tue, 26 Sep 2023 00:01:50 +0200 Subject: [PATCH] fix: ignore edit message errors --- app/generationQueue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/generationQueue.ts b/app/generationQueue.ts index a167667..95f210e 100644 --- a/app/generationQueue.ts +++ b/app/generationQueue.ts @@ -138,7 +138,7 @@ async function processGenerationJob( state.replyMessage.message_id, `Generating your prompt now... 0% using ${sdInstance.name || sdInstance.id}`, { maxAttempts: 1 }, - ); + ).catch(() => undefined); // reduce size if worker can't handle the resolution const config = await getConfig();