Skip to content

cli: log stack trace as debug when the commands return an error #67

@BrunoRosendo

Description

@BrunoRosendo

In the Python client, every command logs a stack trace, as debug level, before exiting the program. In the GO client, this currently doesn't happen. This can be tricky and it'd be nice to have a general way to do this, since we return errors at many different places and it wouldn't be nice to print the stack trace in all of them.
Maybe error wrapping is worth exploring but it could be hard to integrate it with the swagger api errors

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