improve error reporting

This commit is contained in:
Henry Oswald
2018-08-20 10:12:32 +01:00
parent 407c7c235b
commit 1990f20dc0
2 changed files with 3 additions and 2 deletions

View File

@@ -214,7 +214,7 @@ module.exports = DockerRunner =
if error?.statusCode == 404
createAndStartContainer()
else if error?
logger.err {container_name: name}, "unable to inspect container to start"
logger.err {container_name: name, error:error}, "unable to inspect container to start"
return callback(error)
else
startExistingContainer()