Skip to content

Commit

Permalink
署名検証失敗はリトライしないように
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jun 3, 2020
1 parent fa1e032 commit 723c3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queue/processors/inbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default async (job: Bull.Job<InboxJobData>): Promise<string> => {
return `Blocked request: ${ldHost}`;
}
} else {
throw `skip: http-signature verification failed.`;
return `skip: http-signature verification failed and no LD-Signature. keyId=${signature.keyId}`;
}
}

Expand Down

0 comments on commit 723c3c8

Please sign in to comment.