diff options
Diffstat (limited to 'src/remote/activitypub/objects')
| -rw-r--r-- | src/remote/activitypub/objects/person.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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'); } |