From a5cd9fa1416fc948c303519c342086285091e2be Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 23 May 2021 19:27:24 +0200 Subject: [PATCH] outposts: improve logging for docker controller Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/docker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index d3f8bd386..7f1e6b74f 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -127,7 +127,7 @@ class DockerController(BaseController): return None return None except DockerException as exc: - raise ControllerException from exc + raise ControllerException(str(exc)) from exc def down(self): try: @@ -136,7 +136,7 @@ class DockerController(BaseController): container.kill() container.remove() except DockerException as exc: - raise ControllerException from exc + raise ControllerException(str(exc)) from exc def get_static_deployment(self) -> str: """Generate docker-compose yaml for proxy, version 3.5"""