Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
fahedtms committed May 10, 2022
1 parent ea42221 commit f18ed0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down

0 comments on commit f18ed0d

Please sign in to comment.