generated from ElnuDev/rust-project
utils: remove link to issues page in nothuman error
This commit is contained in:
parent
138bc69590
commit
2fb68202a8
1 changed files with 1 additions and 3 deletions
|
@ -40,9 +40,7 @@ impl ResponseError for Error {
|
||||||
Self::NotHuman { target } => format!(
|
Self::NotHuman { target } => format!(
|
||||||
"It looks like you're accessing the Tatoeba API proxy from a script!\n\
|
"It looks like you're accessing the Tatoeba API proxy from a script!\n\
|
||||||
Tatoeba CORS restrictions do not apply outside of browsers, so please access the API directly:\n\
|
Tatoeba CORS restrictions do not apply outside of browsers, so please access the API directly:\n\
|
||||||
{target}\n\
|
{target}"),
|
||||||
If you feel this is mistake, please open an issue:\n\
|
|
||||||
https://codeberg.org/ElnuDev/tatoeba-api-rs"),
|
|
||||||
_ => self.to_string(),
|
_ => self.to_string(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue