react-mapbox-gl icon indicating copy to clipboard operation
react-mapbox-gl copied to clipboard

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

Open csingh-equinix opened this issue 3 years ago • 0 comments

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); })

csingh-equinix avatar Dec 03 '21 04:12 csingh-equinix