log signature parse err
This commit is contained in:
parent
eb8495648e
commit
9bfa38e601
|
@ -129,7 +129,9 @@ export class ActivityPubServerService {
|
|||
draft: ['(request-target)', 'digest', 'host', 'date'],
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
} catch (err) {
|
||||
this.inboxLogger.warn('signature header parsing failed', { err });
|
||||
|
||||
if (typeof request.body === 'object' && 'signature' in request.body) {
|
||||
// LD SignatureがあればOK
|
||||
this.queueService.inbox(request.body as IActivity, null);
|
||||
|
|
Loading…
Reference in New Issue