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:
parent
2521f0bae7
commit
cdf6e30d7f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue