From 82ac22e8374cd08116d768876f6c59ecb02170bc Mon Sep 17 00:00:00 2001 From: deeplow Date: Thu, 15 Sep 2022 11:32:44 +0100 Subject: [PATCH] remove hardcoded 'docker' logging reference Closes #122 as this was the last remaining hardcoded docker reference where the code also applied to podman. --- dangerzone/gui/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index b8487a8b3..19fbb61f6 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -158,8 +158,8 @@ def check_state(self) -> None: try: container_runtime = container.get_runtime() - except container.NoContainerTechException: - log.error("Docker is not installed") + except container.NoContainerTechException as e: + log.error(str(e)) state = "not_installed" else: