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

Ignore logging exceptions #590

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Ignore logging exceptions #590

merged 1 commit into from
Apr 17, 2024

Conversation

gbregman
Copy link
Contributor

Fixes #589

Fixes ceph#589

Signed-off-by: Gil Bregman <[email protected]>
@gbregman gbregman self-assigned this Apr 17, 2024
@gbregman gbregman requested review from baum and caroav April 17, 2024 08:39
Copy link
Collaborator

@baum baum left a comment

Choose a reason for hiding this comment

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

See https://docs.python.org/3.5/howto/logging.html#exceptions-raised-during-logging
Note The default value of raiseExceptions is True. This is because during development, you typically want to be notified of any exceptions that occur. It’s advised that you set raiseExceptions to False for production usage.

@gbregman gbregman merged commit a13e6c6 into ceph:devel Apr 17, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Do not fail gateway operations because of logging exceptions
3 participants