File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/Http/Controllers/Admin/Settings Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function test(Request $request): RedirectResponse
128128 Notification::route ('mail ' , $ request ->user ()->email )
129129 ->notify (new MailTested ($ request ->user ()));
130130 } catch (Exception $ exception ) {
131- $ this ->alert ->danger (trans ('base.mail.test_failed ' ))->flash ();
131+ $ this ->alert ->danger (trans ('base.mail.test_failed ' ) . ' ' . $ exception -> getMessage () )->flash ();
132132
133133 return redirect ()->route ('admin.settings.mail ' );
134134 }
Original file line number Diff line number Diff line change 8888 ],
8989 'mail ' => [
9090 'test_succeeded ' => 'The test message was sent successfully! ' ,
91- 'test_failed ' => 'Failed to send test message! Check your configuration and try again. ' ,
91+ 'test_failed ' => 'Failed to send test message! Error message: ' ,
9292 ],
9393];
You can’t perform that action at this time.
0 commit comments