Skip to content
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

Rubicon Bid Adapter: remove fpd warning #8688

Merged
merged 2 commits into from
Jul 21, 2022

Conversation

musikele
Copy link
Contributor

Type of change

  • Refactoring (no functional changes, no api changes)

Description of change

Remove an unuseful logging.

@ChrisHuie ChrisHuie self-requested a review July 14, 2022 14:57
@ChrisHuie ChrisHuie self-assigned this Jul 14, 2022
@@ -1026,8 +1026,6 @@ function applyFPD(bidRequest, mediaType, data) {
}, []);
if (segments.length > 0) return segments.toString();
}).toString();
} else if (typeof prop === 'object' && !Array.isArray(prop)) {
logWarn('Rubicon: Filtered FPD key: ', key, ': Expected value to be string, integer, or an array of strings/ints');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this means that execution will now end up in the else if below, and if I'm reading this right, will end up returning prop.toString() when it did not before. What are the repercussions of this? Should keep the above else if and just return nothing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @harpere , check this now

Copy link
Collaborator

@harpere harpere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harpere harpere merged commit 45b4daf into prebid:master Jul 21, 2022
ahmadlob referenced this pull request in taboola/Prebid.js Jul 27, 2022
* remove fpd warning

* return undefined instead of skipping the if

Co-authored-by: Michele Nasti <[email protected]>
ccorbo pushed a commit to ccorbo/Prebid.js that referenced this pull request Jul 27, 2022
* remove fpd warning

* return undefined instead of skipping the if

Co-authored-by: Michele Nasti <[email protected]>
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
* remove fpd warning

* return undefined instead of skipping the if

Co-authored-by: Michele Nasti <[email protected]>
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
* remove fpd warning

* return undefined instead of skipping the if

Co-authored-by: Michele Nasti <[email protected]>
@robertrmartinez robertrmartinez deleted the remove_fpd_warning branch July 5, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants