Skip to content

HTTPErrors do not contain the error message from the server #180

@crazyscientist

Description

@crazyscientist

When using the REST API, the Bugzilla client raises HTTPErrors without a response attribute.

E.g., when trying to create a bug with an already taken alias, the XMLRPC backend raises a Fault exception with a meaningful code number and string. The HTTPError raised by the REST backend only contains the generic HTTP status code and status message.

Whatever useful error message from the server is lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions