Fixed issue #1327
This commit is contained in:
parent
2a15488f24
commit
afafdfbfcd
|
|
@ -118,7 +118,11 @@ class CustomerController extends Controller
|
|||
|
||||
$customer = $this->customer->create($data);
|
||||
|
||||
Mail::queue(new NewCustomerNotification($customer, $password));
|
||||
try {
|
||||
Mail::queue(new NewCustomerNotification($customer, $password));
|
||||
} catch (\Exception $e) {
|
||||
|
||||
}
|
||||
|
||||
session()->flash('success', trans('admin::app.response.create-success', ['name' => 'Customer']));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue