From 2637f6529e45d954390a46864a872bdc5727239a Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 17 Apr 2024 18:02:13 +0300 Subject: [PATCH] FIXUP: Add output of kill command --- dangerzone/isolation_provider/container.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dangerzone/isolation_provider/container.py b/dangerzone/isolation_provider/container.py index 3ec2c6149..240b59739 100644 --- a/dangerzone/isolation_provider/container.py +++ b/dangerzone/isolation_provider/container.py @@ -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)}"