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] - Fix batch list loading in Horizon when serialization error #51551

Merged
merged 1 commit into from
May 24, 2024

Conversation

jeffortegad
Copy link
Contributor

When any of the batch options generate a serialization error, the entire list of batches is not loaded.

The current implementation only listens for ModelNotFoundException, this PR changes the type in the catch to Throwable so that any errors in the batches options do not compromise the loading of the entire batch list

@RaphaelGiussani
Copy link

I'm having the same problem.

@taylorotwell taylorotwell merged commit 644e568 into laravel:10.x May 24, 2024
26 checks passed
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.

3 participants