@hestia-earth/schema-convert 14.2.0 → 14.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json.js +3 -1
- package/package.json +1 -1
package/json.js
CHANGED
|
@@ -372,7 +372,9 @@ var propertyTypeToValue = {
|
|
|
372
372
|
}
|
|
373
373
|
: data;
|
|
374
374
|
}
|
|
375
|
-
catch (e2) {
|
|
375
|
+
catch (e2) {
|
|
376
|
+
return throwError('Unable to parse GeoJSON value. Please make sure the formatting is correct.');
|
|
377
|
+
}
|
|
376
378
|
}
|
|
377
379
|
return result ? validateGeoJSONFormat(result) : value;
|
|
378
380
|
}
|