use warning level

This commit is contained in:
Son 2022-01-09 20:13:41 +01:00
parent f855d27836
commit a0727435eb
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def update_setting():
# sanity check
if custom_domain.user_id != user.id or not custom_domain.verified:
LOG.e("%s cannot use domain %s", user, default_domain)
LOG.w("%s cannot use domain %s", user, default_domain)
return jsonify(error="invalid domain"), 400
else:
user.default_alias_custom_domain_id = custom_domain.id