-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Hello!
We are currently using google-map-react in production which has this project as a dependency.
We've recently been seeing lots of errors in Sentry:
Event: Non-Error promise rejection captured with keys: currentTarget, isTrusted, target, type
With the object:
currentTarget: [object Null],
isTrusted: [object Event],
target: head > script#__googleMapsScriptId[type="text/javascript"],
type: error
I saw that others had mentioned this library as a possible reason for this in this issue in Sentry: getsentry/sentry-javascript#2546
We see this error after 3 retries, after the third Failed to load Google Maps script, retrying in 24 ms.
we see this error.
I've had to make a lot of assumptions so sorry if I'm wrong about this, I'm piecing what I can together from logs as I haven't been able to reproduce this myself. But I'm wondering if the error has to be handled differently in the loadErrorCallback function.