add log on exited error code

This commit is contained in:
Henry Oswald 2018-08-21 12:02:12 +01:00
parent f0b927e8e2
commit 9f5fbefb8a

View file

@ -107,6 +107,7 @@ module.exports = DockerRunner =
if exitCode is 1 # exit status from chktex
err = DockerRunner.ERR_EXITED
err.code = exitCode
logger.err err:err, exitCode:exitCode, options:options, "docker container has exited"
return callback(err)
containerReturned = true
callbackIfFinished()