mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-12 01:01:25 +09:00
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
Block a user