Fix logging exception when runner command fails

There is no 'stderr' attribute for an Exception. Just log the
exception string.
This commit is contained in:
David Shrewsbury 2014-09-05 13:33:03 -04:00
parent 2521f0bae7
commit cdf6e30d7f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class Runner(object):
self._run_shell_command(base_docker + list(args))
except Exception as e:
logger.error("docker failed")
logger.info(e.stderr)
logger.info(e)
raise
def _run_shell_command(self, cmd):