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

Don't kill the worker when it cannot connect to smtp server #1821

Merged
merged 2 commits into from
Aug 23, 2016

Conversation

interskh
Copy link
Contributor

Description

Catch socket.error exception when trying to connect smtp server in error email notification.

Motivation and Context

Worker dies when it tries to send out error email but cannot connect to smtp server. This is rather unfortunate in production environment. This PR is intended to fix it.

Have you tested this? If so, how?

I have included unit test.

@mention-bot
Copy link

@interskh, thanks for your PR! By analyzing the annotation information on this pull request, we identified @jackdwyer, @palicand and @dlstadther to be potential reviewers

@Tarrasch
Copy link
Contributor

Nice catch!

@erikbern
Copy link
Contributor

LGTM

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.

4 participants