fix exception format

This commit is contained in:
Namekuji 2023-04-13 13:45:04 -04:00
parent 71a2fbd232
commit 91a59da055
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ export class ApPersonService implements OnModuleInit {
const url = getOneApHrefNullable(person.url); const url = getOneApHrefNullable(person.url);
if (url && !url.startsWith('https://')) { 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 = { const updates = {