Skip to content

Commit

Permalink
Include script results in debug output
Browse files Browse the repository at this point in the history
Signed-off-by: Marcelo E. Magallon <[email protected]>
  • Loading branch information
mem committed Jun 12, 2023
1 parent c69aeb6 commit 169784f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/k6runner/k6runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ func (r HttpRunner) Run(ctx context.Context, script []byte) (*RunResponse, error
return nil, fmt.Errorf("decoding script result: %w", err)
}

r.logger.Debug().Bytes("metrics", result.Metrics).Bytes("logs", result.Logs).Msg("script result")

return &result, nil
}

Expand Down

0 comments on commit 169784f

Please sign in to comment.