mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
fix debug output
This commit is contained in:
parent
d7b22c636f
commit
a66719a905
@ -134,8 +134,8 @@ def subscriptionsNew(ip, 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')
|
||||
out, err = acmeResult.communicate()
|
||||
echo "${out}" 1>&2
|
||||
echo "${err}" 1>&2
|
||||
eprint(str(out))
|
||||
eprint(str(err))
|
||||
if out.find("error=") > -1:
|
||||
time.sleep(6)
|
||||
raise BlitzError("letsancrypt acme failed", out)
|
||||
|
Loading…
x
Reference in New Issue
Block a user