use warning level
This commit is contained in:
parent
f855d27836
commit
a0727435eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue