2
0

🧑‍💻 Provide SMTP error details in toast

This commit is contained in:
Baptiste Arnaud
2024-07-29 09:49:55 +02:00
parent 3ba0e393af
commit da908ffe90

View File

@ -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: {