Skip to content

Commit

Permalink
FIXUP: Add output of kill command
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Apr 17, 2024
1 parent 10d4ffb commit 2637f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dangerzone/isolation_provider/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def kill_container(self, name: str) -> None:
subprocess.run(cmd, capture_output=True, check=True)
except subprocess.CalledProcessError as e:
log.warning(f"Failed to kill container {name}: {str(e)}")
log.warning(f"Output from the kill command: {e.output}")
except Exception as e:
log.exception(
f"Unexpected error occurred while killing container {name}: {str(e)}"
Expand Down

0 comments on commit 2637f65

Please sign in to comment.