The `ServiceError::TorrentNotFound` is mapped to `StatusCode::BAD_REQUEST` [here](https://github.com/torrust/torrust-index-backend/blob/develop/src/errors.rs#L218): ``` ServiceError::TorrentNotFound => StatusCode::BAD_REQUEST, ``` We should return a 404 status code. Relates to https://github.com/torrust/torrust-index-frontend/issues/118
The
ServiceError::TorrentNotFoundis mapped toStatusCode::BAD_REQUESThere:We should return a 404 status code.
Relates to torrust/torrust-index-gui#118