Skip to content

[10.x] - Fix batch list loading in Horizon when serialization error - #51551

Merged
taylorotwell merged 1 commit into
laravel:10.xfrom
jeffortegad:bug/horizon-infinite-loading
May 24, 2024
Merged

taylorotwell merged 1 commit into
laravel:10.xfrom
jeffortegad:bug/horizon-infinite-loading

Conversation

@jeffortegad

Copy link
Copy Markdown
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
Copy Markdown

I'm having the same problem.

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