mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
Print stderr when certbot fails
This commit is contained in:
parent
8d0d8c3910
commit
434a3c017b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user