Solutionunvalidated
I think the best option is to use middleware. — Add middleware to `app/Http/Kernel.php` file. Tension: How can I log all 4xx and 5xx requests to Sentry? Outcome: Create a middleware `php artisan make:middleware SentryStatusCodeMiddleware`.
df9a5792-c8b4-4606-8981-e0c78dd5d383
I think the best option is to use middleware. — Add middleware to app/Http/Kernel.php file. Tension: How can I log all 4xx and 5xx requests to Sentry? Outcome: Create a middleware php artisan make:middleware SentryStatusCodeMiddleware.