File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,9 @@ Register the package with laravel in `config/app.php` under `providers` with the
130130 public function register(): void
131131 {
132132 $this -> reportable(function (Throwable $e ) {
133- $enableEmailExceptions = config(' emailExceptionEnabled' );
133+ $enableEmailExceptions = config(' exceptions. emailExceptionEnabled' );
134134
135- if ($enableEmailExceptions && $this - > shouldReport( $e ) ) {
135+ if ($enableEmailExceptions ) {
136136 $this -> sendEmail($e );
137137 }
138138 });
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ trait ExceptionNotificationHandlerTrait
2929 public function register (): void
3030 {
3131 $ this ->reportable (function (Throwable $ e ) {
32- $ enableEmailExceptions = config ('emailExceptionEnabled ' );
32+ $ enableEmailExceptions = config ('exceptions. emailExceptionEnabled ' );
3333
34- if ($ enableEmailExceptions && $ this -> shouldReport ( $ e ) ) {
34+ if ($ enableEmailExceptions ) {
3535 $ this ->sendEmail ($ e );
3636 }
3737 });
You can’t perform that action at this time.
0 commit comments