From 5d0ded2a693e7370321c0494d825c55ee066997b Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 19 Apr 2018 18:58:57 +0900 Subject: [PATCH] Better error handling --- src/remote/activitypub/models/person.ts | 53 +++++++++++++++---------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index dd9a80ae2..be035097b 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -80,27 +80,38 @@ export async function createPerson(value: any, resolver?: Resolver): Promise