Add more logging to loadTemplateConfig() for debugging

parent 34e72dd5
......@@ -137,6 +137,7 @@ class WebOverlayController {
* Load template configuration from API
*/
async loadTemplateConfig() {
console.log('[OverlayController] loadTemplateConfig() called');
try {
console.log('[OverlayController] Loading template config...');
const config = await this.apiRequest('/template-config');
......@@ -166,6 +167,7 @@ class WebOverlayController {
}
} catch (error) {
console.error('[OverlayController] Failed to load template config:', error);
console.error('[OverlayController] Error stack:', error.stack);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment