react-simple-maps
react-simple-maps copied to clipboard
Meaningful Error when map file isn't found
When the map file isn't found, the following error message is generated in the console:
Unexpected token < in JSON at position 0
It would be great if this could be a bit more descriptive of the problem, to help users pinpoint the issue quicker.
Same advice.