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
3535MAIL_FROM_ADDRESS = no-reply@laravel.cm
3636MAIL_FROM_NAME = " ${ APP_NAME } "
3737
38+ MAILGUN_DOMAIN =
39+ MAILGUN_SECRET =
40+
3841AWS_ACCESS_KEY_ID =
3942AWS_SECRET_ACCESS_KEY =
4043AWS_DEFAULT_REGION = us-east-1
@@ -71,3 +74,5 @@ MIX_TORCHLIGHT_TOKEN="${TORCHLIGHT_TOKEN}"
7174UNSPLASH_ACCESS_KEY =
7275TELEGRAM_BOT_TOKEN =
7376MEDIA_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
3535 public function register ()
3636 {
3737 $ this ->reportable (function (Throwable $ e ) {
38- //
38+ if ($ this ->shouldReport ($ e ) && app ()->bound ('sentry ' )) {
39+ app ('sentry ' )->captureException ($ e );
40+ }
3941 });
4042 }
4143}
Original file line number Diff line number Diff line change 2828 "livewire/livewire" : " ^2.5" ,
2929 "ph7jack/wireui" : " ^0.14.0" ,
3030 "ramsey/uuid" : " ^4.2" ,
31+ "sentry/sentry-laravel" : " ^2.10" ,
3132 "spatie/laravel-feed" : " ^4.0" ,
3233 "spatie/laravel-medialibrary-pro" : " ^1.0.0" ,
3334 "spatie/laravel-permission" : " ^5.1" ,
You can’t perform that action at this time.
0 commit comments