Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBVolcy committed Sep 7, 2023
1 parent 36c5794 commit 7e3a9cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion endpoints/setuid.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ func NewSetUIDEndpoint(cfg *config.Configuration, syncersByBidder map[string]use
case http.StatusUnavailableForLegalReasons:
metricValue = metrics.SetUidGDPRHostCookieBlocked
}
handleBadStatus(w, status, metricValue, errors.New(body), metricsEngine, &so)
handleBadStatus(w, status, metricValue, nil, metricsEngine, &so)
so.Errors = []error{errors.New(body)}
w.Write([]byte(body))
return
}

Expand Down

0 comments on commit 7e3a9cf

Please sign in to comment.