Skip to content

Commit f0c6bf2

Browse files
committed
fix command to publish config file
1 parent 4b7e75a commit f0c6bf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Listeners/NotifyAdminOfError.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ public function __construct()
2929
public function handle($event)
3030
{
3131
if (config()->has('error-mailer.email.recipient')) {
32-
dd(config('error-mailer.email.recipient'));
3332
$recipient = config('error-mailer.email.recipient');
3433
} else {
3534
$recipient = '[email protected]';
3635
}
3736

37+
dd($recipient);
38+
3839
Mail::to($recipient)->send(new ErrorOccurred($event->context['exception']));
3940
}
4041
}

0 commit comments

Comments
 (0)