use warning instead of error

This commit is contained in:
Son Nguyen Kim 2021-09-20 16:59:27 +02:00
parent f6fd97ef05
commit ba3074b94a
1 changed files with 1 additions and 1 deletions

View File

@ -1615,7 +1615,7 @@ def handle_unsubscribe_user(user_id: int, mail_from: str) -> str:
"""return the SMTP status"""
user = User.get(user_id)
if not user:
LOG.e("No such user %s %s", user_id, mail_from)
LOG.w("No such user %s %s", user_id, mail_from)
return status.E510
if mail_from != user.email: