Skip to content

Commit

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

Expand Down

0 comments on commit 0ccca66

Please sign in to comment.