fix: log sendTestEmail errors and show error toast for 15s so it can be read
This commit is contained in:
1 parent
9115bc9630
commit
c6a12163bb
2 files changed
+2
-1
No files matched your search
@@ -705,7 +705,7 @@ function sendTestEmail() {
|
||||
showToast('Test email sent!', 'success');
|
||||
} else {
|
||||
statusEl.textContent = 'Failed.'; statusEl.style.color = '#dc2626';
|
||||
showToast(data.message || 'Failed to send.', 'error');
|
||||
showToast(data.message || 'Failed to send.', 'error', 15000);
|
||||
}
|
||||
}).catch(function() {
|
||||
statusEl.textContent = 'Request failed.'; statusEl.style.color = '#dc2626';
|
||||
|
||||
Reference in new issue
Block a user