outposts: improve logging for docker controller

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-23 19:27:24 +02:00
parent 039a1e544e
commit a5cd9fa141
1 changed files with 2 additions and 2 deletions

View File

@ -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"""