wip
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user