show actual mail error
This commit is contained in:
parent
4fef8dc165
commit
80c4f621de
|
|
@ -92,6 +92,7 @@ new class extends Component {
|
|||
'trace' => $e->getTraceAsString(),
|
||||
]);
|
||||
Session::flash('test-email-failed', true);
|
||||
Session::flash('test-email-error', $e->getMessage());
|
||||
}
|
||||
}
|
||||
}; ?>
|
||||
|
|
@ -164,6 +165,11 @@ new class extends Component {
|
|||
<div class="mt-4">
|
||||
<flux:callout variant="danger" icon="exclamation-triangle">
|
||||
{{ __('admin.test_email_failed') }}
|
||||
@if (session('test-email-error'))
|
||||
<div class="mt-2 text-sm opacity-80">
|
||||
{{ session('test-email-error') }}
|
||||
</div>
|
||||
@endif
|
||||
</flux:callout>
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue