From 6907b6505afc7eeee0efcde9232ffa433934ea98 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 9 Mar 2024 10:24:55 +0000 Subject: [PATCH] retry no key --- .../backend/src/queue/processors/InboxProcessorService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/queue/processors/InboxProcessorService.ts b/packages/backend/src/queue/processors/InboxProcessorService.ts index e790267a04..b1468a2a93 100644 --- a/packages/backend/src/queue/processors/InboxProcessorService.ts +++ b/packages/backend/src/queue/processors/InboxProcessorService.ts @@ -103,7 +103,9 @@ export class InboxProcessorService { // publicKey がなくても終了 if (authUser.key == null) { - throw new Bull.UnrecoverableError('skip: failed to resolve user publicKey'); + // publicKeyがないのはpublicKeyの変更(主にmain→ed25519)に + // 対応しきれていない場合があるためリトライする + throw new Error('skip: failed to resolve user publicKey'); } // HTTP-Signatureの検証