Skip to content

Commit

Permalink
proxy: log key being used
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Mar 2, 2024
1 parent 6cbb200 commit c58362c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (h Handler) addFakeEmail(r *http.Response) error {
return fmt.Errorf("setting fake email in body: %w", err)
}

log.Printf("Added fakeEmail %q", fakeEmail)
log.Printf("Added %q:%q", fakeEmailKey, fakeEmail)

// For some wicked reason httputil.ReverseProxy does not do this for me.
r.Header.Set("content-length", strconv.Itoa(newBody.Len()))
Expand Down

0 comments on commit c58362c

Please sign in to comment.