File tree Expand file tree Collapse file tree 7 files changed +491
-67
lines changed Expand file tree Collapse file tree 7 files changed +491
-67
lines changed Original file line number Diff line number Diff line change @@ -52,4 +52,9 @@ MAIL_ENCRYPTION=null
5252MAIL_FROM_ADDRESS = " admin@laravel-inertia-template.test"
5353MAIL_FROM_NAME = " ${ APP_NAME } "
5454
55+ SENTRY_LARAVEL_DSN = " "
56+ SENTRY_TRACES_SAMPLE_RATE = 0.1
57+
5558VITE_APP_NAME = " ${ APP_NAME } "
59+ VITE_APP_ENV = " ${ APP_ENV } "
60+ VITE_SENTRY_DSN_PUBLIC = " "
Original file line number Diff line number Diff line change 33use Illuminate \Foundation \Application ;
44use Illuminate \Foundation \Configuration \Exceptions ;
55use Illuminate \Foundation \Configuration \Middleware ;
6+ use Sentry \Laravel \Integration ;
67
78return Application::configure (basePath: dirname (__DIR__ ))
89 ->withRouting (
2122 ]);
2223 })
2324 ->withExceptions (function (Exceptions $ exceptions ) {
24- //
25+ Integration:: handles ( $ exceptions );
2526 })->create ();
Original file line number Diff line number Diff line change 1414 "laravel/sanctum" : " ^4.0" ,
1515 "laravel/tinker" : " ^2.9" ,
1616 "predis/predis" : " ^2.2" ,
17+ "sentry/sentry-laravel" : " ^4.5" ,
1718 "spatie/laravel-permission" : " ^6.7" ,
1819 "tightenco/ziggy" : " ^1.8"
1920 },
You can’t perform that action at this time.
0 commit comments