mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] uses logger string concatenation api
This commit is contained in:
parent
8ca5d59a96
commit
65e9a4b6d8
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ def certificate_install_letsencrypt(auth, domainList, force=False, no_checks=Fal
|
||||||
# Actual install steps
|
# Actual install steps
|
||||||
for domain in domainList:
|
for domain in domainList:
|
||||||
|
|
||||||
logger.info("Now attempting install of certificate for domain " + domain + " !")
|
logger.info("Now attempting install of certificate for domain %s!", domain)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not no_checks:
|
if not no_checks:
|
||||||
|
@ -231,7 +231,7 @@ def certificate_install_letsencrypt(auth, domainList, force=False, no_checks=Fal
|
||||||
logger.success(m18n.n("certmanager_cert_install_success", domain=domain))
|
logger.success(m18n.n("certmanager_cert_install_success", domain=domain))
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Certificate installation for %s failed !" % domain)
|
logger.error("Certificate installation for %s failed !", domain)
|
||||||
logger.error(str(e))
|
logger.error(str(e))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue