diff --git a/src/remote/activitypub/objects/person.ts b/src/remote/activitypub/objects/person.ts index b1e8c9ee0a..151b4a7a79 100644 --- a/src/remote/activitypub/objects/person.ts +++ b/src/remote/activitypub/objects/person.ts @@ -51,6 +51,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs !isValidName(object.name == '' ? null : object.name) || !isValidDescription(object.summary) ) { + log(`invalid person: ${JSON.stringify(object, null, 2)}`); throw new Error('invalid person'); }