🐛 Fix smtp error details not displaying
This commit is contained in:
@@ -87,7 +87,10 @@ export const SmtpCreateModalContent = ({
|
|||||||
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: {
|
details: {
|
||||||
content: testSmtpError.message,
|
content:
|
||||||
|
'response' in testSmtpError
|
||||||
|
? (testSmtpError.response as string)
|
||||||
|
: testSmtpError.message,
|
||||||
lang: 'json',
|
lang: 'json',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user