Make worker error messages more descriptive

This commit is contained in:
Joseph Schorr 2014-08-27 19:02:53 -04:00
parent 97aa2c5aaa
commit 463a3c55c3
2 changed files with 5 additions and 4 deletions

View file

@ -478,6 +478,7 @@ class DockerfileBuildWorker(Worker):
container['Id'], container['Command'])
docker_cl.kill(container['Id'])
self._timeout.set()
except ConnectionError as exc:
raise WorkerUnhealthyException(exc.message)