Skip to content

Commit

Permalink
add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenglund committed Apr 10, 2024
1 parent def4e25 commit 57e60e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ func (h Handler) HandlePayload(ctx context.Context, request events.LambdaFunctio
}

if cfg.WrapPayloadInArray {
log.Printf("wrapping payload in [...]")
body = fmt.Sprintf("[%s]", body)
}

Expand Down

0 comments on commit 57e60e4

Please sign in to comment.