Skip to content

Commit

Permalink
fix: payload logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcguire1 committed May 16, 2024
1 parent fdb1b51 commit eed6abc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/sqs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type SqsHandler struct {
}

func (handler *SqsHandler) ProcessChatGPTRequest(ctx context.Context, req *chatmodels.Request) error {
handler.Logger.With("payload", utils.ToJSON(req)).Info("invoked with payload")
execTime := time.Now().UTC()

var errorMsg string
Expand Down

0 comments on commit eed6abc

Please sign in to comment.