Support the ongoing development of Laravel.io →
posted 8 years ago
Requests

Prior to Laravel 5.3 (just upgraded straight from 5.1), I could log exceptions without having them return a response. How do I go about doing that now?

The render method in the exception handler is expecting a \Illuminate\Http\Response object as a return value. There are numerous exception types that are helpful to log but they don't necessarily "break" the entire request so I want to load the requested page as usual.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.