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

feat: Display Meaningful Error Message When Path is Missing #8

Open
pahund opened this issue Mar 22, 2019 · 0 comments
Open

feat: Display Meaningful Error Message When Path is Missing #8

pahund opened this issue Mar 22, 2019 · 0 comments
Labels
feat Introduces a new feature to the codebase

Comments

@pahund
Copy link

pahund commented Mar 22, 2019

If you try to render ads without an ad unit path being present either in the global config or slot config, react-prebid will happily try to initialize GPT slots, prompting an error from the gpt.js library, e.g.:

Exception in queued GPT command TypeError: "slot is null"

Validate if an ad unit path is provided and give the developers a useful error message in this case.

@pahund pahund changed the title Display Meaningful Error Message When Path is Missing feat: Display Meaningful Error Message When Path is Missing Mar 31, 2021
@pahund pahund added the feat Introduces a new feature to the codebase label Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Introduces a new feature to the codebase
Projects
None yet
Development

No branches or pull requests

1 participant