diff --git a/gns3server/modules/docker/__init__.py b/gns3server/modules/docker/__init__.py index 48216050..c1a71cd7 100644 --- a/gns3server/modules/docker/__init__.py +++ b/gns3server/modules/docker/__init__.py @@ -105,7 +105,7 @@ class Docker(BaseManager): except ValueError: pass log.debug("Query Docker %s %s params=%s data=%s Response: %s", method, path, params, data, body) - raise DockerError("Docker has returned an error: {}".format(body)) + raise DockerError("Docker has returned an error: {} {}".format(response.status, body)) return response @asyncio.coroutine