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

PBjs core: new BIDDER_ERROR event and onBidderError function called when ajax call fail #7438

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

fasenderos
Copy link
Contributor

@fasenderos fasenderos commented Sep 17, 2021

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

When the ajax request fail a new error event BIDDER_ERROR will be emitted and adapters can registering to the new function onBidderError. Related issue #6756

@patmmccann patmmccann added feature needs 2nd review Core module updates require two approvals from the core team labels Sep 17, 2021
Copy link
Contributor

@Fawke Fawke left a comment

Choose a reason for hiding this comment

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

Hi @fasenderos,

Thanks for the PR, this change looks good. I was able to test it locally and it seemed to be working fine.

I'd request you to update the docs by creating a docs PR and update the events section here

@fasenderos
Copy link
Contributor Author

@Fawke sure, but I can’t guarantee for my English.

@fasenderos
Copy link
Contributor Author

@Fawke docs PR prebid/prebid.github.io#3308

@Fawke
Copy link
Contributor

Fawke commented Oct 1, 2021

@fasenderos Thank you for the docs PR.

@robertrmartinez When you get a chance, can you please review this PR? Thanks.

@Fawke Fawke merged commit 0e50635 into prebid:master Oct 18, 2021
cpabst pushed a commit to sovrn/Prebid.js that referenced this pull request Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants