Skip to content

Return a 404 status code when a torrent is not found #215

@josecelano

Description

@josecelano

The ServiceError::TorrentNotFound is mapped to StatusCode::BAD_REQUEST here:

ServiceError::TorrentNotFound => StatusCode::BAD_REQUEST,

We should return a 404 status code.

Relates to torrust/torrust-index-gui#118

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions