diff --git a/internal/runner/aws_runner.go b/internal/runner/aws_runner.go index cbfeb958..7949dd6c 100644 --- a/internal/runner/aws_runner.go +++ b/internal/runner/aws_runner.go @@ -159,7 +159,7 @@ func (w *AWSFunctionWorkload) executeCommand(ctx context.Context, command []stri Cmd: command, Files: w.fs, } - log.WithContext(ctx).WithField("request", data).Trace("Sending request to AWS") + log.WithContext(ctx).WithField("request", fmt.Sprintf("%q", data)).Trace("Sending request to AWS") rawData, err := json.Marshal(data) if err != nil { exit <- ExitInfo{uint8(1), fmt.Errorf("cannot stingify aws function request: %w", err)}