Skip to content

Fix #99: set fail_silently=True in CustomEmailHandler to prevent logg…#133

Open
subinita01 wants to merge 1 commit intocytoscape:masterfrom
subinita01:fix/issue-99-logging-email-fail-silently
Open

Fix #99: set fail_silently=True in CustomEmailHandler to prevent logg…#133
subinita01 wants to merge 1 commit intocytoscape:masterfrom
subinita01:fix/issue-99-logging-email-fail-silently

Conversation

@subinita01
Copy link
Copy Markdown

…ing from stopping

When admin email delivery fails, the exception was propagating and halting the logging system entirely. The comment already stated the intent was fail_silently=True; the boolean was simply wrong.

…vent logging from stopping

When admin email delivery fails, the exception was propagating and halting
the logging system entirely. The comment already stated the intent was
fail_silently=True; the boolean was simply wrong.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@subinita01
Copy link
Copy Markdown
Author

Problem

CustomEmailHandler.send_mail() sets fail_silently=False, so any
failure in sending admin emails raises an exception that propagates up
and stops the logging system entirely.

The inline comment already says "set fail_silently true" — the boolean
was simply wrong.

Fix

Change fail_silently=False to fail_silently=True so email errors
are swallowed and logging continues uninterrupted.

Fixes #99

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