fix exception format
This commit is contained in:
parent
71a2fbd232
commit
91a59da055
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue