mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
🧑💻 Provide SMTP error details in toast
This commit is contained in:
parent
3ba0e393af
commit
da908ffe90
@ -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: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user