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

[10.x] throw TransportException instead of Exception in SES mail drivers #48645

Merged
merged 1 commit into from Oct 5, 2023
Merged

Conversation

bchalier
Copy link
Contributor

@bchalier bchalier commented Oct 5, 2023

To resolve #48642

When the SES mail driver encounter an error it throw a regular Exception, preventing the failover driver to pass the mail along.

I changed the error for a TransportException, allowing the error to be handled and with minimal impact as any other catching mechanism already in place will continue to work.

@taylorotwell taylorotwell merged commit 4a9ae49 into laravel:10.x Oct 5, 2023
20 of 21 checks passed
timacdonald pushed a commit to timacdonald/framework that referenced this pull request Oct 24, 2023
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.

failover mail config does not catch AWS SES errors
2 participants