mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 16:23:16 +08:00
use warning level when cannot parse mailbox-id
This commit is contained in:
parent
5ea3d1bd42
commit
d97966a2e8
1 changed files with 1 additions and 1 deletions
|
@ -1067,7 +1067,7 @@ def handle_bounce(contact: Contact, alias: Alias, msg: Message, user: User):
|
|||
try:
|
||||
mailbox_id = int(get_header_from_bounce(msg, _MAILBOX_ID_HEADER))
|
||||
except Exception:
|
||||
LOG.exception("cannot get mailbox-id from bounce report, %s", refused_email)
|
||||
LOG.warning("cannot get mailbox-id from bounce report, %s", refused_email)
|
||||
else:
|
||||
mailbox = Mailbox.get(mailbox_id)
|
||||
if not mailbox or mailbox.user_id != user.id:
|
||||
|
|
Loading…
Reference in a new issue