-
Notifications
You must be signed in to change notification settings - Fork 122
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
feat: when handling actions, print uncaught exceptions to stderr #1087
feat: when handling actions, print uncaught exceptions to stderr #1087
Conversation
@benhoyt three things here before this can be properly reviewed:
|
The framework unit tests and real pebble tests fail because of the macaroonbakery issue. The data charm tests fail since 2.9 it seems, although it must be some change on the other side too or we would have caught it before release - looking into that. |
Co-authored-by: Ben Hoyt <[email protected]>
Notes from talking in person:
Existing name is fine,
Keep as-is other than one small suggestion.
Add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me. One test change suggested.
When handling an action and an exception is not caught, output basic information about the problem to stderr, and let the user know that a full traceback (that the Charm author probably wants, rather than the user running the action) is in debug-log.
Fixes #1078