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

Added Timeout Exeption #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Timeout Exeption #9

wants to merge 1 commit into from

Conversation

EJLN9818
Copy link

No description provided.

@EJLN9818 EJLN9818 requested a review from felipe3dfx August 23, 2021 22:15
@EJLN9818 EJLN9818 force-pushed the Added_Timeout_Exeption branch from 4b12b2d to 837c86a Compare August 23, 2021 22:35
setup.py Outdated Show resolved Hide resolved
@@ -21,7 +22,7 @@ def _async_send_messages(serializable_email_messages, retries=RETRIES):
if sent is not None:
count += 1
logger.info('Email sent to %s', message.to)
except (SMTPException, SMTPServerDisconnected) as exc:
except (SMTPException, SMTPServerDisconnected, RequestException) as exc:
Copy link
Contributor

Choose a reason for hiding this comment

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

This handle all requests exceptions

Suggested change
except (SMTPException, SMTPServerDisconnected, RequestException) as exc:
except (requests.exceptions.RequestException) as exc:

CHANGELOG.md Outdated Show resolved Hide resolved
@EJLN9818 EJLN9818 force-pushed the Added_Timeout_Exeption branch 3 times, most recently from b420b1c to 74ac0b3 Compare August 24, 2021 16:45
@EJLN9818 EJLN9818 force-pushed the Added_Timeout_Exeption branch from 74ac0b3 to cd8d035 Compare August 24, 2021 16:51
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.

2 participants