mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 14:30:39 +01:00
fix exception format
This commit is contained in:
parent
71a2fbd232
commit
91a59da055
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue