fix exception format

This commit is contained in:
Namekuji 2023-04-13 13:45:04 -04:00
parent 71a2fbd232
commit 91a59da055

View file

@ -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 = {