Skip to content

Commit

Permalink
Merge branch 'dev' into 'main'
Browse files Browse the repository at this point in the history
chore: Update log

See merge request locker/maily!15
  • Loading branch information
khaitranquang committed Apr 19, 2024
2 parents 4f98396 + 489e893 commit 5f4927f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/maily/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@ def handle_reply(self):
try:
outbound_from_address = decrypted_metadata.get("to").split(',')[0].strip()
except AttributeError:
logger.error(
f"[!] Cannot get outbound_from_address:::{decrypted_metadata} - {lookup_key} - {encryption_key}"
)
return self.response(400, "Cannot get outbound_from_address")
return self.response(400, f"Cannot get outbound_from_address from decrypted metadata {decrypted_metadata}")

if not reply_allowed(self.from_address, self.to_address):
return self.response(403, "Relay replies require a premium account")
Expand Down

0 comments on commit 5f4927f

Please sign in to comment.