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

Use logging.exception when we care about traceback #525

Merged

Conversation

bheesham
Copy link
Member

Instead of serializing only the error message, let's be friendly to our future selves and print the traceback as well.

@bheesham bheesham requested a review from a team October 17, 2024 20:09
@bheesham bheesham force-pushed the python-logging-use-log-exception branch 2 times, most recently from 1f36cb0 to 679b659 Compare October 23, 2024 22:59
Copy link
Contributor

@dividehex dividehex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Approved

Instead of serializing only the error message, let's be friendly to our future
selves and print the traceback as well.
@bheesham bheesham force-pushed the python-logging-use-log-exception branch from 679b659 to 5c09ba7 Compare October 24, 2024 19:37
@bheesham bheesham merged commit d5019fc into mozilla-iam:master Oct 24, 2024
1 check passed
@bheesham bheesham deleted the python-logging-use-log-exception branch October 24, 2024 19:51
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

Successfully merging this pull request may close these issues.

2 participants