Skip to content

Fix GH-7875: mails are sent even if failure to log throws exception #7878

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

Closed
wants to merge 2 commits into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Jan 3, 2022

We explicitly check for an exception after the logging attempt, and
bail out in that case.

We explicitly check for an exception after the logging attempt, and
bail out in that case.
@cmb69 cmb69 linked an issue Jan 3, 2022 that may be closed by this pull request
Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

Thank you for handling this! The change to mail.c LGTM with my understanding of the internals and the test also LGTM, apart from my (optional) suggestion.

Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
@cmb69 cmb69 closed this in 478edcd Jan 17, 2022
@cmb69 cmb69 deleted the cmb/gh7875 branch January 17, 2022 21:35
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.

mails are sent even if failure to log throws exception
2 participants