Better error management when importing geojson