log type of unsupported featured object

This commit is contained in:
Hazelnoot 2024-11-21 10:57:26 -05:00
parent ae7b90de6c
commit 2b9c3f0d5c
1 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ export class ApInboxService {
if (activity.target === actor.featured) {
const activityObject = fromTuple(activity.object);
if (isApObject(activityObject) && !isPost(activityObject)) {
return 'unsupported featured object type';
return `unsupported featured object type: ${getApType(activityObject)}`;
}
const note = await this.apNoteService.resolveNote(activityObject, { resolver });
@ -647,7 +647,7 @@ export class ApInboxService {
if (activity.target === actor.featured) {
const activityObject = fromTuple(activity.object);
if (isApObject(activityObject) && !isPost(activityObject)) {
return 'unsupported featured object type';
return `unsupported featured object type: ${getApType(activityObject)}`;
}
const note = await this.apNoteService.resolveNote(activityObject, { resolver });