Fix: bug in error reporting

This commit is contained in:
Pieter Vander Vennet 2024-10-13 13:19:54 +02:00
parent c795e74037
commit 4794032e49

View file

@ -1007,7 +1007,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
console.error("Got (in themeViewSTate.reportError):", message, extramessage)
return
}
const isTesting = this.featureSwitchIsTesting.data
const isTesting = this.featureSwitchIsTesting?.data
console.log(
isTesting
? ">>> _Not_ reporting error to report server as testmode is on"