Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dettanym committed Oct 4, 2023
1 parent 63de101 commit 4c40755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions privacy-profile-composer/cmd/envoy-filter/envoy-filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ func (f *filter) DecodeData(buffer api.BufferInstance, endStream bool) api.Statu
// url.Values{"json_to_analyze": {string(jsonData)}})

if err != nil {
log.Printf(err.Error())
log.Printf("presidio post error: ", err.Error())
return api.Continue
}
log.Printf(resp.Status, resp.Body)
log.Printf("Presidio response status and body:", resp.Status, resp.Body)
return api.Continue
}

Expand Down

0 comments on commit 4c40755

Please sign in to comment.