This commit is contained in:
Andras Bacsai
2023-05-30 09:50:50 +02:00
parent d103a01c53
commit bdb19dae89
7 changed files with 1315 additions and 311 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
use Sentry\Laravel\Integration;
class Handler extends ExceptionHandler
{
@@ -42,7 +43,7 @@ class Handler extends ExceptionHandler
public function register(): void
{
$this->reportable(function (Throwable $e) {
//
Integration::captureUnhandledException($e);
});
}
}