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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user