pinballmap / pbm-react

PBM React Native: iOS & Android Apps
https://pinballmap.com/app
GNU General Public License v3.0
33 stars 9 forks source link

Bug: Cannot read property 'startsWith' of undefined #517

Closed RyanTG closed 11 months ago

RyanTG commented 11 months ago

From Sentry, I'm seeing that this is sometimes undefined (Sentry is saying this occurs on Android): https://github.com/pinballmap/pbm-react/blob/210be70ee2bfdb7a64b15fedc6e16ca7c1b5f21d/app/utils/utilityFunctions.js#L74

on the location details screen. From the trace, I can see that it occurred at this Tiebreakers location: https://www.pinballmap.com/api/v1/locations/18047.json

But I cannot replicate (though I only tried iOS). Might be an intermittent issue. Could be something like:

If this doesn't seem like something we can replicate and fix, then I'll close this.

RyanTG commented 11 months ago

er... closing until I actually see this on 5.3.4. Strangely, not seeing it.