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
e8e07d464a
commit
5615e3f4fe
1 changed files with 2 additions and 2 deletions
|
@ -284,7 +284,7 @@ def certificate_renew(auth, domainList, force=False, no_checks=False, email=Fals
|
||||||
|
|
||||||
# Actual renew steps
|
# Actual renew steps
|
||||||
for domain in domainList:
|
for domain in domainList:
|
||||||
logger.info("Now attempting renewing of certificate for domain " + domain + " !")
|
logger.info("Now attempting renewing of certificate for domain %s !", domain)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not no_checks:
|
if not no_checks:
|
||||||
|
@ -295,7 +295,7 @@ def certificate_renew(auth, domainList, force=False, no_checks=False, email=Fals
|
||||||
logger.success(m18n.n("certmanager_cert_renew_success", domain=domain))
|
logger.success(m18n.n("certmanager_cert_renew_success", domain=domain))
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Certificate renewing for " + domain + " failed !")
|
logger.error("Certificate renewing for %s failed !", domain)
|
||||||
logger.error(str(e))
|
logger.error(str(e))
|
||||||
|
|
||||||
if email:
|
if email:
|
||||||
|
|
Loading…
Add table
Reference in a new issue