Jan Jankowski
Results
1
comments of
Jan Jankowski
You can also detect request type (API/web) during binding procedure and provide appropriate ExceptionHandler class. In your bootstrap/app.php add something similar to: ``` $app->singleton(Illuminate\Contracts\Debug\ExceptionHandler::class, function($app) { if(request()->is('api/*')) { return new...