comment out erroring log for moment

This commit is contained in:
Henry Oswald 2018-08-01 14:32:17 +01:00
parent 6f926007d2
commit 361eaf9217

View file

@ -46,9 +46,9 @@ module.exports = DockerRunner =
fingerprint = DockerRunner._fingerprintContainer(options)
options.name = name = "project-#{project_id}-#{fingerprint}"
logOptions = _.clone(options)
logOptions?.HostConfig?.SecurityOpt = "secomp used, removed in logging"
logger.log project_id: project_id, options:logOptions, "running docker container"
# logOptions = _.clone(options)
# logOptions?.HostConfig?.SecurityOpt = "secomp used, removed in logging"
logger.log project_id: project_id, "running docker container"
DockerRunner._runAndWaitForContainer options, volumes, timeout, (error, output) ->
if error?.message?.match("HTTP code is 500")
logger.log err: error, project_id: project_id, "error running container so destroying and retrying"