Make rendering error during sending more descriptive [MAILPOET-1232]
This commit is contained in:
@@ -392,6 +392,10 @@ const MailerMixin = {
|
||||
MailPoet.I18n.t('mailerConnectionErrorNotice')
|
||||
.replace('%$1s', state.meta.mta_log.error.error_message);
|
||||
}
|
||||
if (state.meta.mta_log.error.error_code) {
|
||||
mailer_error_notice += ' ' + MailPoet.I18n.t('mailerErrorCode')
|
||||
.replace('%$1s', state.meta.mta_log.error.error_code);
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<p>{ mailer_error_notice }</p>
|
||||
|
Reference in New Issue
Block a user