mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 04:43:10 +02:00
fix debug output
This commit is contained in:
@@ -134,8 +134,8 @@ def subscriptionsNew(ip, dnsservice, id, token, target):
|
|||||||
["/home/admin/config.scripts/bonus.letsencrypt.sh", "issue-cert", dnsservice, id, token, target],
|
["/home/admin/config.scripts/bonus.letsencrypt.sh", "issue-cert", dnsservice, id, token, target],
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf8')
|
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding='utf8')
|
||||||
out, err = acmeResult.communicate()
|
out, err = acmeResult.communicate()
|
||||||
echo "${out}" 1>&2
|
eprint(str(out))
|
||||||
echo "${err}" 1>&2
|
eprint(str(err))
|
||||||
if out.find("error=") > -1:
|
if out.find("error=") > -1:
|
||||||
time.sleep(6)
|
time.sleep(6)
|
||||||
raise BlitzError("letsancrypt acme failed", out)
|
raise BlitzError("letsancrypt acme failed", out)
|
||||||
|
Reference in New Issue
Block a user