Skip to content

Commit

Permalink
OTT-214 : Fix panic while getting debug info http calls
Browse files Browse the repository at this point in the history
Signed-off-by: mohammad-murad <[email protected]>
  • Loading branch information
mohammad-murad authored and PubMatic-OpenWrap committed Jun 28, 2021
1 parent ff2b05c commit f1f8712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exchange/bidder.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ func filterHeader(h http.Header) http.Header {
// makeExt transforms information about the HTTP call into the contract class for the PBS response.
func makeExt(httpInfo *httpCallInfo) *openrtb_ext.ExtHttpCall {
ext := &openrtb_ext.ExtHttpCall{}
ext.Params = make(map[string]int)

if httpInfo != nil && httpInfo.request != nil {
ext.Uri = httpInfo.request.Uri
Expand Down

0 comments on commit f1f8712

Please sign in to comment.