Merge pull request #234 from n0izn0iz/patch-1
Print stderr when certbot fails
This commit is contained in:
@@ -63,7 +63,7 @@ def generate_cert():
|
||||
)
|
||||
if result.returncode:
|
||||
print("Error while generating certificates:\n{}".format(
|
||||
result.stdout.decode("utf8") + result.stdout.decode("utf8")))
|
||||
result.stdout.decode("utf8") + result.stderr.decode("utf8")))
|
||||
else:
|
||||
print("Successfully generated or renewed TLS certificates")
|
||||
if certbot_install(hostname):
|
||||
|
||||
Reference in New Issue
Block a user