diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-09-20 16:49:18 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-09-20 16:49:18 +0300 |
commit | b3621129b13e63ea9148f18d1fc3d8a1c41ff782 (patch) | |
tree | b1302c5a5966db756d4f51a03c14e7392a00e3dc /yarn | |
parent | 20951385300fe19ccc16e24c816779cceb4a70c9 (diff) | |
download | cmdtest-b3621129b13e63ea9148f18d1fc3d8a1c41ff782.tar.gz |
Fix formatting for error message
Diffstat (limited to 'yarn')
-rwxr-xr-x | yarn | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -496,9 +496,9 @@ class YarnRunner(cliapp.Application): logging.debug('Standard error: empty') if exit != 0 and report_error: - self.error('ERROR: In scenario "%s"\n' % step.what) - self.error('step "%s %s" failed,\n' % (step.what, step.text)) - self.error('with exit code %d:\n' % exit) + self.error('ERROR: In scenario "%s"' % scenario.name) + self.error('step "%s %s" failed,' % (step.what, step.text)) + self.error('with exit code %d:' % exit) self.error('Standard output from shell command:\n%s' % self.indent(stdout)) self.error('Standard error from shell command:\n%s' % |