Skip to content

Commit

Permalink
tweak error log
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Feb 17, 2025
1 parent 9ffe504 commit 93e7aad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ export class InboxProcessorService implements OnApplicationShutdown {

// それでもわからなければ終了
if (authUser == null) {
throw new Bull.UnrecoverableError('skip: failed to resolve user');
throw new Bull.UnrecoverableError(`skip: failed to resolve user ${getApId(activity.actor)}`);
}

// publicKey がなくても終了
if (authUser.key == null) {
throw new Bull.UnrecoverableError('skip: failed to resolve user publicKey');
throw new Bull.UnrecoverableError(`skip: failed to resolve user publicKey ${getApId(activity.actor)}`);
}

// HTTP-Signatureの検証
Expand Down

0 comments on commit 93e7aad

Please sign in to comment.