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

Catch case where this.picker_ is null #212

Merged
merged 1 commit into from Apr 6, 2020
Merged

Conversation

ajpal
Copy link
Contributor

@ajpal ajpal commented Apr 6, 2020

We started getting a ton of JS errors from somehow trying to call getAngle() when this.picker_ is null See NewRelic. We haven't been able to repro the issue ourselves, afaik.
Adding this preventative check in getAngle that handles the null case and defaults to 0 can't really hurt, though, and will silence the new relic noise.

@ajpal ajpal merged commit 8255b43 into master Apr 6, 2020
@ajpal ajpal deleted the apr6-picker_-is-null branch April 28, 2020 23:33
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.

None yet

2 participants