mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 13:23:45 +02:00
add exception message to fail message for mail test
This commit is contained in:
@@ -128,7 +128,7 @@ class MailController extends Controller
|
||||
Notification::route('mail', $request->user()->email)
|
||||
->notify(new MailTested($request->user()));
|
||||
} catch (Exception $exception) {
|
||||
$this->alert->danger(trans('base.mail.test_failed'))->flash();
|
||||
$this->alert->danger(trans('base.mail.test_failed') . ' ' . $exception->getMessage())->flash();
|
||||
|
||||
return redirect()->route('admin.settings.mail');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user