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