Skip to content

Commit

Permalink
Fix json decode error removing log messages on unitc response
Browse files Browse the repository at this point in the history
  • Loading branch information
kea committed Apr 14, 2024
1 parent cc39454 commit 0d9a6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certbot_nginx_unit/unitc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def call(self, method: str, path: str, input_data: bytes | None = None,
output = ""
with tempfile.TemporaryFile() as out:
try:
params = ["unitc", method, path]
params = ["unitc", "--no-log", method, path]
logger.debug("Unitc params: %s", " ".join(params))
proc = subprocess.run(params,
env=util.env_no_snap_for_external_calls(),
Expand Down

0 comments on commit 0d9a6d4

Please sign in to comment.