refine error msg

This commit is contained in:
cutestnekoaqua 2023-02-12 00:14:03 +01:00
parent f5a9add712
commit d91358ce2f

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) {