refine error msg
This commit is contained in:
parent
631355c2c8
commit
209cd8a7c8
|
@ -77,7 +77,7 @@ export function apiAccountMastodon(router: Router): void {
|
||||||
if (data.data.length === 0) {
|
if (data.data.length === 0) {
|
||||||
ctx.status = 404;
|
ctx.status = 404;
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
error: "Record not found"
|
error: `Record (${ctx.query.acct}) not found`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
|
Loading…
Reference in New Issue