-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonobi Adapter - Added referrer param. Fixed timeout error in userSync #2497
Conversation
…d test port expectations to the original 9876 port
@ndhimehta any movement on this? |
@JonGoSonobi tbh, not the best way to fix the problem. Instead of checking if the array is empty you wrap it in a try/catch. Not the most appropriate way to check the length of the array. And then you log the error. The situation that is causing the error is not uncommon or unexpected, requests to server timeout all the time. And now I get an ugly error message each time sonobi times out. |
@dmitriyshashkin The error should only be logged in debug mode. In which case it would let you know that the timeout for the Sonobi adapter is too low and that you should consider increasing it. |
@JonGoSonobi |
@dmitriyshashkin PR opened to remove the debug logging. #2686 |
Type of change
Description of change
Added a referrer param to override the default window.location.host.
Fix for issue #2489
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
prebid/prebid.github.io#744
Other information
Fixes Issue #2489