diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index a7d4a3d..a993848 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -63,7 +63,7 @@ public function report(Throwable $e) public function sendEmail(Throwable $e) { - if (Config::get('enabled')) { + if (Config::get('exception-mail.enabled')) { $addresses = Config::get('exception-mail.addresses', []); Mail::to($addresses)->send(new ExceptionOccurred($e->getMessage())); }