Complete paired-room SSOT cleanup and logger singleton
This commit is contained in:
@@ -138,8 +138,11 @@ function saveCodexState(): void {
|
||||
resetD7Ats: accounts.map((a) => a.resetD7At ?? null),
|
||||
};
|
||||
writeJsonFile(STATE_FILE, state);
|
||||
} catch {
|
||||
/* best effort */
|
||||
} catch (err) {
|
||||
logger.warn(
|
||||
{ stateFile: STATE_FILE, err },
|
||||
'Failed to persist Codex rotation state',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user