refine error msg

This commit is contained in:
cutestnekoaqua 2023-02-12 00:14:03 +01:00
parent 631355c2c8
commit 209cd8a7c8
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export function apiAccountMastodon(router: Router): void {
if (data.data.length === 0) {
ctx.status = 404;
ctx.body = {
error: "Record not found"
error: `Record (${ctx.query.acct}) not found`
}
}
} catch (e: any) {