From 1beb7db3667089713f7d46aefe6dbb244586fbd9 Mon Sep 17 00:00:00 2001 From: saurabh-narkhede Date: Wed, 9 Oct 2024 16:36:00 +0530 Subject: [PATCH] add err in log --- modules/pubmatic/openwrap/applovinmax.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pubmatic/openwrap/applovinmax.go b/modules/pubmatic/openwrap/applovinmax.go index 148882cc33b..57c04a52043 100644 --- a/modules/pubmatic/openwrap/applovinmax.go +++ b/modules/pubmatic/openwrap/applovinmax.go @@ -264,7 +264,7 @@ func setProfileID(requestBody []byte) ([]byte, string) { } if _, err := strconv.Atoi(profIDStr); err != nil { - glog.Errorf("[AppLovinMax] [ProfileID]: %s [Error]: failed to convert app.id to integer", profIDStr) + glog.Errorf("[AppLovinMax] [ProfileID]: %s [Error]: failed to convert app.id to integer %v", profIDStr, err) return requestBody, "" } @@ -272,7 +272,7 @@ func setProfileID(requestBody []byte) ([]byte, string) { if newRequestBody, err := jsonparser.Set(requestBody, []byte(profIDStr), "ext", "prebid", "bidderparams", "pubmatic", "wrapper", "profileid"); err == nil { return newRequestBody, profIDStr } - glog.Errorf("[AppLovinMax] [ProfileID]: %s [Error]: failed to set profileid in wrapper ", profIDStr) + glog.Errorf("[AppLovinMax] [ProfileID]: %s [Error]: failed to set profileid in wrapper %v", profIDStr, err) return requestBody, "" }