Skip to content

Provide more information in error messages and from --debug #102

Description

@rustyjux

As a API provider using the CLI, I need detailed error messages available so I can identify issues when trying to apply configuration.

Currently, the message is often limited to "error": "something went wrong" which leaves the user in the dark on what the actual problem is. At the least, just return the API response if there is not a more specific or detailed message when --debug is on.

Poor error message cases

Compiling a list of cases with poor error messages to look at what we want to handle better may be a useful aid.

  • trying to enable a dataset where org doesn't match the Gateway
    • something broke
  • invalid Product name (contains underscore)
    • something broke

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions