Fix: better error handling and handling of changes

This commit is contained in:
Pieter Vander Vennet 2023-05-01 01:14:48 +02:00
parent 7b73578f88
commit 7813653265
8 changed files with 36 additions and 10 deletions

View file

@ -164,7 +164,11 @@ export default class MetaTagging {
}
if (somethingChanged) {
featurePropertiesStores?.getStore(feature.properties.id)?.ping()
try {
featurePropertiesStores?.getStore(feature.properties.id)?.ping()
} catch (e) {
console.error("Could not ping a store for a changed property due to", e)
}
atLeastOneFeatureChanged = true
}
}