message
parent
59a397cea3
commit
1b6bda2677
|
|
@ -12,6 +12,8 @@ class SendFeedbackMessage {
|
||||||
public function handle(object $event) {
|
public function handle(object $event) {
|
||||||
try {
|
try {
|
||||||
Mail::to($event->email)->send(new FeedbackSender($event->data));
|
Mail::to($event->email)->send(new FeedbackSender($event->data));
|
||||||
} catch (\Exception $exception) {}
|
} catch (\Exception $exception) {
|
||||||
|
mail('sergey@bodin.ru', 'Error', 'Error SendFeedbackMessage');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue