mirror of
https://github.com/simple-login/app.git
synced 2026-04-07 19:27:34 +00:00
remove the exception logging when a transaction isn't found
This commit is contained in:
+1
-4
@@ -1512,13 +1512,10 @@ def handle_transactional_bounce(envelope: Envelope, rcpt_to):
|
||||
transactional_id = parse_id_from_bounce(rcpt_to)
|
||||
transactional = TransactionalEmail.get(transactional_id)
|
||||
|
||||
# a transaction might have been deleted in delete_logs()
|
||||
if transactional:
|
||||
LOG.info("Create bounce for %s", transactional.email)
|
||||
Bounce.create(email=transactional.email, commit=True)
|
||||
else:
|
||||
LOG.exception(
|
||||
"Cannot find transactional email for %s %s", transactional_id, rcpt_to
|
||||
)
|
||||
|
||||
|
||||
def handle(envelope: Envelope) -> str:
|
||||
|
||||
Reference in New Issue
Block a user