File tree Expand file tree Collapse file tree 5 files changed +597
-5
lines changed
Expand file tree Collapse file tree 5 files changed +597
-5
lines changed Original file line number Diff line number Diff line change 33namespace App \Exceptions ;
44
55use Illuminate \Foundation \Exceptions \Handler as ExceptionHandler ;
6+ use Sentry \Laravel \Integration ;
67use Throwable ;
78
89class Handler extends ExceptionHandler
@@ -18,13 +19,10 @@ class Handler extends ExceptionHandler
1819 'password_confirmation ' ,
1920 ];
2021
21- /**
22- * Register the exception handling callbacks for the application.
23- */
2422 public function register (): void
2523 {
2624 $ this ->reportable (function (Throwable $ e ) {
27- //
25+ Integration:: captureUnhandledException ( $ e );
2826 });
2927 }
3028}
Original file line number Diff line number Diff line change 1818 "laravel/tinker" : " ^2.8" ,
1919 "league/commonmark" : " ^2.4" ,
2020 "livewire/livewire" : " ^3.6" ,
21+ "sentry/sentry-laravel" : " ^4.13" ,
2122 "spatie/laravel-menu" : " ^4.1" ,
2223 "spatie/yaml-front-matter" : " ^2.0" ,
2324 "symfony/http-client" : " ^7.2" ,
You can’t perform that action at this time.
0 commit comments