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 logging for distributed algorithms #284

Merged
merged 2 commits into from
Dec 4, 2020
Merged

Conversation

brainix
Copy link
Owner

@brainix brainix commented Dec 4, 2020

Wrap each future.result() call in a try/except. Then in the
except block, log the exception but don't re-raise it.

This keeps our distributed algorithms robust, but gives us exception
logging.

Wrap each `future.result()` call in a `try`/`except`.  Then in the
`except` block, log the exception but don't re-raise it.

This keeps our distributed algorithms robust, but gives us exception
logging.
@brainix
Copy link
Owner Author

brainix commented Dec 4, 2020

🐟

@brainix brainix merged commit b1fb908 into master Dec 4, 2020
@brainix brainix deleted the improved-logging branch December 4, 2020 08:53
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.

1 participant