From f104e9b6cce012cfcaeba6f75a4990062b03a876 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 17 Sep 2020 21:05:47 +0900 Subject: chore: better error text --- src/remote/activitypub/resolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/remote/activitypub/resolver.ts') diff --git a/src/remote/activitypub/resolver.ts b/src/remote/activitypub/resolver.ts index 3847ea92ca..f4bf8f94f9 100644 --- a/src/remote/activitypub/resolver.ts +++ b/src/remote/activitypub/resolver.ts @@ -20,7 +20,7 @@ export default class Resolver { if (isCollectionOrOrderedCollection(collection)) { return collection; } else { - throw new Error(`unknown collection type: ${collection.type}`); + throw new Error(`unrecognized collection type: ${collection.type}`); } } -- cgit v1.2.3-freya