File tree Expand file tree Collapse file tree 5 files changed +1305
-85
lines changed Expand file tree Collapse file tree 5 files changed +1305
-85
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ MAIL_ENCRYPTION=null
35
35
MAIL_FROM_ADDRESS = no-reply@laravel.cm
36
36
MAIL_FROM_NAME = " ${ APP_NAME } "
37
37
38
+ MAILGUN_DOMAIN =
39
+ MAILGUN_SECRET =
40
+
38
41
AWS_ACCESS_KEY_ID =
39
42
AWS_SECRET_ACCESS_KEY =
40
43
AWS_DEFAULT_REGION = us-east-1
@@ -71,3 +74,5 @@ MIX_TORCHLIGHT_TOKEN="${TORCHLIGHT_TOKEN}"
71
74
UNSPLASH_ACCESS_KEY =
72
75
TELEGRAM_BOT_TOKEN =
73
76
MEDIA_DISK = media
77
+ SENTRY_LARAVEL_DSN =
78
+ SENTRY_TRACES_SAMPLE_RATE =
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ class Handler extends ExceptionHandler
35
35
public function register ()
36
36
{
37
37
$ this ->reportable (function (Throwable $ e ) {
38
- //
38
+ if ($ this ->shouldReport ($ e ) && app ()->bound ('sentry ' )) {
39
+ app ('sentry ' )->captureException ($ e );
40
+ }
39
41
});
40
42
}
41
43
}
Original file line number Diff line number Diff line change 28
28
"livewire/livewire" : " ^2.5" ,
29
29
"ph7jack/wireui" : " ^0.14.0" ,
30
30
"ramsey/uuid" : " ^4.2" ,
31
+ "sentry/sentry-laravel" : " ^2.10" ,
31
32
"spatie/laravel-feed" : " ^4.0" ,
32
33
"spatie/laravel-medialibrary-pro" : " ^1.0.0" ,
33
34
"spatie/laravel-permission" : " ^5.1" ,
You can’t perform that action at this time.
0 commit comments