How to check if exception is reportable or not in Laravel 9?
I have only API laravel project. If I turn the debug mode off in .env file by setting APP_DEBUG=false, my application throws Server error for the errors that shouldn't be shown to user. But it return json response like this:…