googlemaps / googlemaps/react-wrapper

It should be possible to get the error from the callback

Open
#839 0 comments 0 reactions 0 assignees View on GitHub
triage me type: feature request
Dominant language
TypeScript
Stars
381
Forks
50
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

I can't report the error to Sentry when loading the library fails.

**Describe the solution you'd like**

I'd like to be able to get the error from the `Loader` in the `Wrapper` `callback`.

**Describe alternatives you've considered**

There is a private `errors` property on the `Loader` but I do not want to rely on a private API.

**Additional context**

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.