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

map.on('error') not listening to 401 error #984

Open
csingh-equinix opened this issue Dec 3, 2021 · 0 comments
Open

map.on('error') not listening to 401 error #984

csingh-equinix opened this issue Dec 3, 2021 · 0 comments

Comments

@csingh-equinix
Copy link

Hi
I was trying to capture invalid token error i.e 401 inside map.on('error') listner but unfortunately this error is not being caught by error handler. Please let me know how can I listen to this error.

Code Sample -
map.on('error', (e)=> { console.log("error -------", e); })

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

No branches or pull requests

1 participant