From 91a59da055bfb2b538b1d010023681128fdcb231 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Thu, 13 Apr 2023 13:45:04 -0400 Subject: [PATCH] fix exception format --- packages/backend/src/core/activitypub/models/ApPersonService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/activitypub/models/ApPersonService.ts b/packages/backend/src/core/activitypub/models/ApPersonService.ts index 21a53ea85f..3e86d3b44d 100644 --- a/packages/backend/src/core/activitypub/models/ApPersonService.ts +++ b/packages/backend/src/core/activitypub/models/ApPersonService.ts @@ -463,7 +463,7 @@ export class ApPersonService implements OnModuleInit { const url = getOneApHrefNullable(person.url); if (url && !url.startsWith('https://')) { - throw new Error('unexpected shcema of person url: ' + url); + throw new Error(`unexpected shcema of person url: ${url}`); } const updates = {