Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Provide SMTP error details in toast
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Jul 29, 2024
1 parent 3ba0e39 commit da908ff
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit da908ff

Please sign in to comment.