🧑💻 Provide SMTP error details in toast
This commit is contained in:
@ -83,10 +83,12 @@ export const SmtpCreateModalContent = ({
|
||||
if (testSmtpError) {
|
||||
console.error(testSmtpError)
|
||||
setIsCreating(false)
|
||||
return showToast({
|
||||
showToast({
|
||||
title: 'Invalid configuration',
|
||||
description: "We couldn't send the test email with your configuration",
|
||||
details: testSmtpError,
|
||||
})
|
||||
return
|
||||
}
|
||||
mutate({
|
||||
credentials: {
|
||||
|
Reference in New Issue
Block a user