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 context manager to reduce duplicated error logging code #31

Closed
drewoldag opened this issue Aug 15, 2024 · 0 comments · Fixed by #39
Closed

Use context manager to reduce duplicated error logging code #31

drewoldag opened this issue Aug 15, 2024 · 0 comments · Fixed by #39

Comments

@drewoldag
Copy link
Collaborator

See @DinoBektesevic's comment here: #30 (comment)

Long story short, instead of a try ... catch statement, we can use a context manager to do most of the work.

Initial investigation wasn't producing the stack trace that I wanted, but this is probably just unfamiliarity with working with traceback objects.

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 a pull request may close this issue.

1 participant