Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BrunoRosendo opened this issue Aug 8, 2022 · 0 comments
Open

Comments

@BrunoRosendo
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant