Closed FrazeColder closed 2 weeks ago
Hey, just add this to your bootstrap/app.php :
->withExceptions(function (Exceptions $exceptions) {
$exceptions->report(function (Throwable $e) {
FilamentExceptions::report($e);
});
})
Thank you!
Hey there,
I am using Laravel 11. Laravel 11 does not have a
app/Exceptions/Handler.php
by default. Therefore, I have created this one:However, the exceptions are not being logged and also the
Log::info("I got logged");
did not log anything. Why are my exceptions not being logged? What am I doing wrong here?Kind regards