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

[9.x] Throw deadlock exception #42129

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

imanghafoori1
Copy link
Contributor

Here Laravel checks and makes sure that the exception is due to a deadlock but eventually rethrows the generic PDOexception, then the developer must manually redetect it again as a deadlock in the application layer.
So it is more convenient to have a dedicated meaningful exception for it.

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