From 4794032e49a4b5b2d3fdceac8a2b8a75994e94ea Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 13 Oct 2024 13:19:54 +0200 Subject: [PATCH] Fix: bug in error reporting --- src/Models/ThemeViewState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/ThemeViewState.ts b/src/Models/ThemeViewState.ts index 7a1e3052e..0d9582579 100644 --- a/src/Models/ThemeViewState.ts +++ b/src/Models/ThemeViewState.ts @@ -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"