react-simple-maps icon indicating copy to clipboard operation
react-simple-maps copied to clipboard

Meaningful Error when map file isn't found

Open MrStevenHill opened this issue 6 years ago • 1 comments

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.

MrStevenHill avatar Jul 17 '19 08:07 MrStevenHill

Same advice.

yastrebovb avatar Mar 03 '20 11:03 yastrebovb