Skip to content

Commit 482559b

Browse files
committed
fix: sentry integration
1 parent 01aa775 commit 482559b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bootstrap/app.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Illuminate\Foundation\Application;
66
use Illuminate\Foundation\Configuration\Exceptions;
77
use Illuminate\Foundation\Configuration\Middleware;
8+
use Sentry\Laravel\Integration;
89

910
return Application::configure(basePath: dirname(__DIR__))
1011
->withRouting(
@@ -16,5 +17,6 @@
1617
$middleware->trustProxies('*');
1718
})
1819
->withExceptions(function (Exceptions $exceptions): void {
19-
//
20-
})->create();
20+
Integration::handles($exceptions);
21+
})
22+
->create();

0 commit comments

Comments
 (0)