Skip to content

Conversation

@pavelzotikov
Copy link
Contributor

@pavelzotikov pavelzotikov commented Oct 15, 2025

This PR removes the singleton binding of a custom ExceptionHandler in ErrorLoggerServiceProvider
for Laravel 11 and newer. The override is redundant because Laravel 11+ supports the reportable()
callback, and keeping it breaks middleware execution (e.g., CORS headers).

Resolves #10

@pavelzotikov pavelzotikov requested a review from neSpecc October 15, 2025 13:12
@pavelzotikov pavelzotikov merged commit 27d8c9f into main Oct 15, 2025
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.

Service Provider overrides Exception Handler causing middleware chain disruption

3 participants