diff --git a/CHANGELOG.md b/CHANGELOG.md index d9f97b11..250370fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,6 +97,10 @@ - Update Wrapper to kafkahandler +#### 16.05.2024 + +- Change Error + ### Bugfix diff --git a/asabiris/output/smtp/service.py b/asabiris/output/smtp/service.py index 28650d93..e8ac0311 100644 --- a/asabiris/output/smtp/service.py +++ b/asabiris/output/smtp/service.py @@ -145,7 +145,7 @@ async def send( raise ASABIrisError( ErrorCode.SMTP_CONNECTION_ERROR, tech_message="SMTP connection failed: {}.".format(str(e)), - error_i18n_key="Could not connect to SMTP for host '{{host}}'.", + error_i18n_key="Could not connect to SMTP host '{{host}}'.", error_dict={ "host": self.Host, } @@ -177,7 +177,7 @@ async def send( raise ASABIrisError( ErrorCode.SMTP_SERVER_DISCONNECTED, tech_message="SMTP server disconnected: {}.".format(str(e)), - error_i18n_key="The SMTP server for '{{host}}' disconnected unexpectedly.", + error_i18n_key="The SMTP server '{{host}}' disconnected unexpectedly.", error_dict={ "host": self.Host }