From b3621129b13e63ea9148f18d1fc3d8a1c41ff782 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 20 Sep 2016 16:49:18 +0300 Subject: Fix formatting for error message --- yarn | 6 +++--- 1 file 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' % -- cgit v1.2.1