File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { isAbortRequestText } from "../auto-reply/reply/abort-primitives.js";
1111import type { OpenClawConfig } from "../config/types.openclaw.js" ;
1212import { emitAgentEvent , getAgentEventLifecycleGeneration } from "../infra/agent-events.js" ;
1313import { jsonUtf8Bytes } from "../infra/json-utf8-bytes.js" ;
14+ import { logError } from "../logger.js" ;
1415import { projectLiveAssistantBufferedText } from "./live-chat-projector.js" ;
1516import { createChatAbortMarker , type ChatAbortMarker } from "./server-chat-state.js" ;
1617
@@ -173,7 +174,8 @@ export function registerChatAbortController(params: {
173174 params . chatAbortControllers . delete ( params . runId ) ;
174175 }
175176 } )
176- . catch ( ( ) => {
177+ . catch ( ( error ) => {
178+ logError ( "Project session terminal persistence failed during abort" , error ) ;
177179 if ( params . chatAbortControllers . get ( params . runId ) ?. controller === controller ) {
178180 params . chatAbortControllers . delete ( params . runId ) ;
179181 }
You can’t perform that action at this time.
0 commit comments