mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 18:22:37 +02:00
Log command to debug log for traceback purposes
Log commands so we can trace back which errors / outputs are from each command.
This commit is contained in:
parent
b73ce5bf6a
commit
48b2e7bc3c
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ class DangerzoneConverter:
|
|||
stderr=asyncio.subprocess.PIPE,
|
||||
)
|
||||
|
||||
# Log command to debug log so we can trace back which errors
|
||||
# are from each command
|
||||
self.captured_output += f">>> {' '.join(args)}\n".encode()
|
||||
|
||||
assert proc.stdout is not None
|
||||
assert proc.stderr is not None
|
||||
|
||||
|
|
Loading…
Reference in a new issue