Skip to content

Commit

Permalink
Merge pull request #286 from jwenz723/patch-1
Browse files Browse the repository at this point in the history
Enhanced error logging
  • Loading branch information
stefanprodan authored Aug 29, 2019
2 parents 360dd63 + 0421b32 commit 4d26971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/loadtester/bash.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (task *BashTask) Run(ctx context.Context) (bool, error) {

if err != nil {
task.logger.With("canary", task.canary).Errorf("command failed %s %v %s", task.command, err, out)
return false, fmt.Errorf(" %v %v", err, out)
return false, fmt.Errorf(" %v %s", err, out)
} else {
if task.logCmdOutput {
fmt.Printf("%s\n", out)
Expand Down

0 comments on commit 4d26971

Please sign in to comment.