Skip to content

Implement propper error handling in CLI client #54

@forman

Description

@forman

Is your feature request related to a problem? Please describe.

The CLI client has no special error treatment for errors raised when attempting to reach the server or if server API calls failed. It will always dump the traceback as if it were internal program errors.

Describe the solution you'd like

We already raise

  • TransportException when attempting to reach the server
  • ClientException if server API request failed

--> Catch these errors in the CLI and output human-readable reports. Provide traceback only if CLI flag is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions