File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ export function registerChatAbortController(params: {
176176 params . chatAbortControllers . delete ( params . runId ) ;
177177 }
178178 } )
179- . catch ( ( err ) => {
179+ . catch ( ( err : unknown ) => {
180180 // A rejected terminal persistence must still release the controller,
181181 // but log it so operators can see DB/file-system health failures
182182 // instead of losing the terminal state silently.
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export function startGatewayEventSubscriptions(params: {
102102 entry . projectSessionTerminalPersistence = persistence ;
103103 if ( entry . registrationCleanupRequested === true ) {
104104 void persistence
105- . catch ( ( err ) => {
105+ . catch ( ( err : unknown ) => {
106106 // Still release the entry on failure, but surface the
107107 // persistence error instead of swallowing it silently.
108108 log . error ?.(
@@ -124,7 +124,7 @@ export function startGatewayEventSubscriptions(params: {
124124 sessionKey &&
125125 sessionId
126126 ) {
127- void persistence . catch ( ( err ) => {
127+ void persistence . catch ( ( err : unknown ) => {
128128 // Fall back to restart recovery on failure, and log the
129129 // persistence error so the fallback is not silent.
130130 log . error ?.(
You can’t perform that action at this time.
0 commit comments