mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
refine error msg
This commit is contained in:
parent
f5a9add712
commit
d91358ce2f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user