Skip to content

GGV2 client: add exception logging so that errors are always visible,… #277

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

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

MikeDombo
Copy link
Contributor

@MikeDombo MikeDombo commented Feb 18, 2022

… even when using executors

Issue #, if available:

Description of changes:
Wraps the user-provided methods with try/except + logging to stderr so that unhandled exceptions won't be invisible. If the user properly catches any exceptions, then this new handling won't ever be triggered. This handler is just intended to make any programming errors more visible.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@graebm graebm merged commit 57890a1 into main Feb 23, 2022
@graebm graebm deleted the v2-error branch February 23, 2022 01:06
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