forked from MapComplete/MapComplete
Fix: better error handling and handling of changes
This commit is contained in:
parent
7b73578f88
commit
7813653265
8 changed files with 36 additions and 10 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue