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

fix: dispatch error event when invalid API key is provided #26

Merged
merged 2 commits into from
May 19, 2022

Conversation

mxlje
Copy link
Contributor

@mxlje mxlje commented May 19, 2022

Not catching this error means nothing gets rendered because it just crashes, which isn’t very nice.

Additionally if no error callback is provided errors are now logged instead of swallowed.

mxlje added 2 commits May 19, 2022 16:15
Not catching this error means nothing gets rendered because it just
crashes, which isn’t very nice.
this makes the error visible insteaf of just swallowing it
@mxlje mxlje merged commit 2069d35 into main May 19, 2022
@mxlje mxlje deleted the fix/invalid-key-error-event branch May 19, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant