diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-10-15 14:40:19 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2014-10-15 14:40:19 +0000 |
commit | 06f1c4500cdbd612a39e41323ae2c28e4d307f0b (patch) | |
tree | e4a3e6be5e6e6c396b63ee2d9ddffdd803fff462 | |
parent | 03b9e8e9c0383a96da2bbb44ed11949a35eab6ad (diff) | |
download | cmdtest-06f1c4500cdbd612a39e41323ae2c28e4d307f0b.tar.gz |
yarn: Don't crash when a command failed with binary output
-rwxr-xr-x | yarn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ class YarnRunner(cliapp.Application): 'with exit code %d:\n' 'Standard output from shell command:\n%s' 'Standard error from shell command:\n%s' % - (scenario.name, step.what, step.text, exit, + (str(scenario.name), str(step.what), str(step.text), exit, self.indent(stdout), self.indent(stderr))) self.remember_step_timing( '%s %s' % (step.what, step.text), stopped - started) |