This commit is contained in:
2025-11-30 23:00:48 +01:00
parent 4b8c70978f
commit 645f537895
41 changed files with 738 additions and 1631 deletions

View File

@@ -372,7 +372,8 @@ export function setupIpcHandlers(mainWindow: BrowserWindow): void {
mainWindow.webContents.send('automation-event', ev);
}
} catch (e) {
logger.debug?.('Failed to forward automation-event', e);
const error = e instanceof Error ? e : new Error(String(e));
logger.debug?.('Failed to forward automation-event', { error });
}
});
lifecycleSubscribed = true;
@@ -380,7 +381,8 @@ export function setupIpcHandlers(mainWindow: BrowserWindow): void {
}
}
} catch (e) {
logger.debug?.('Failed to subscribe to adapter lifecycle events', e);
const error = e instanceof Error ? e : new Error(String(e));
logger.debug?.('Failed to subscribe to adapter lifecycle events', { error });
}
}