Skip to content

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

@csingh-equinix

Description

@csingh-equinix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions