mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] use logger instead of print, a bit better bot not perfect
This commit is contained in:
parent
c468a69754
commit
c763b74fea
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def tools_maindomain(auth, new_domain=None):
|
||||||
|
|
||||||
_set_maindomain(new_domain)
|
_set_maindomain(new_domain)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print e
|
logger.warning("%s" % e, exc_info=1)
|
||||||
raise MoulinetteError(errno.EPERM, m18n.n('maindomain_change_failed'))
|
raise MoulinetteError(errno.EPERM, m18n.n('maindomain_change_failed'))
|
||||||
|
|
||||||
# Regen configurations
|
# Regen configurations
|
||||||
|
|
Loading…
Add table
Reference in a new issue