summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-09-20 16:49:18 +0300
committerLars Wirzenius <liw@liw.fi>2016-09-20 16:49:18 +0300
commitb3621129b13e63ea9148f18d1fc3d8a1c41ff782 (patch)
treeb1302c5a5966db756d4f51a03c14e7392a00e3dc
parent20951385300fe19ccc16e24c816779cceb4a70c9 (diff)
downloadcmdtest-b3621129b13e63ea9148f18d1fc3d8a1c41ff782.tar.gz
Fix formatting for error message
-rwxr-xr-xyarn6
1 files changed, 3 insertions, 3 deletions
diff --git a/yarn b/yarn
index b585864..8d2bef3 100755
--- a/yarn
+++ b/yarn
@@ -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' %