mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 10:14:11 +02:00
not founds
This commit is contained in:
parent
bc449f894c
commit
43bfba6307
4 changed files with 18 additions and 13 deletions
|
|
@ -32,6 +32,7 @@ impl IntoResponse for ApiError {
|
|||
Self::SteamId(err) => {
|
||||
(StatusCode::UNPROCESSABLE_ENTITY, format!("{:#}", err)).into_response()
|
||||
}
|
||||
Self::Scrape(ScrapeError::NotFound) => (StatusCode::NOT_FOUND, "").into_response(),
|
||||
Self::Scrape(err) => {
|
||||
(StatusCode::INTERNAL_SERVER_ERROR, format!("{:#}", err)).into_response()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue