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

Improve debug-log output when charms have uncaught exceptions #1462

Open
tonyandrewmeyer opened this issue Nov 26, 2024 · 0 comments
Open

Improve debug-log output when charms have uncaught exceptions #1462

tonyandrewmeyer opened this issue Nov 26, 2024 · 0 comments
Labels
feature New feature or request investigate Needs further investigation - do we want to do this? needs design needs more thought or spec

Comments

@tonyandrewmeyer
Copy link
Contributor

@sed-i suggested that having the charm revision and possibly other information would be beneficial when end-users are doing bug reporting.

It feels like the revision is perhaps too specific (and complicated since we don't have a good way to get a canonical "revision" inside the unit) but maybe we can make it easier for the charm to provide additional information to include in the log at this point, or perhaps there should be a (jhack?) tool that makes it easier to collect quality bug report information with assistance from ops.

@dimaqq also suggested (this might be a separate feature) that we might want to catch 'uncaught' exceptions and re-raise them to provide a cleaner traceback (an issue that @PietroPasotti raised re: tracing wrappers) or otherwise present them.

@tonyandrewmeyer tonyandrewmeyer added feature New feature or request needs design needs more thought or spec investigate Needs further investigation - do we want to do this? labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request investigate Needs further investigation - do we want to do this? needs design needs more thought or spec
Projects
None yet
Development

No branches or pull requests

1 participant