You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Eager Dispatcher injection broke the never-throw invariant.ErrorTracker took Illuminate\Contracts\Bus\Dispatcher as a constructor dependency, so resolving the service threw a BindingResolutionExceptionbeforereport()'s try/catch whenever the Bus deferred provider was unresolvable. Because report() runs inside the consumer's exception handler, that throw escaped the reportable callback and replaced the original error with Target [Illuminate\Contracts\Bus\Dispatcher] is not instantiable (observed in a Laravel 12 app). The bus is now resolved lazily from the container inside report()'s guard, so the failure is swallowed and the original error is preserved.