From 44e5ae110e1387565a7e9628478283a1d82b4e8c Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Mon, 9 Apr 2018 05:30:17 +0900 Subject: [PATCH] :v: --- src/remote/activitypub/objects/person.ts | 1 + 1 file changed, 1 insertion(+) 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'); }