fix(gateway): tolerate void agent command results · openclaw/openclaw@ac0fa47
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
File tree
src/gateway/server-methods
| Original file line number | Diff line number | Diff line change |
|---|
@@ -311,7 +311,7 @@ function dispatchAgentRunFromGateway(params: {
|
311 | 311 | void agentCommandFromIngress(params.ingressOpts, defaultRuntime, params.context.deps) |
312 | 312 | .then((result) => { |
313 | 313 | if (shouldTrackTask) { |
314 | | -const aborted = result.meta.aborted === true; |
| 314 | +const aborted = result?.meta?.aborted === true; |
315 | 315 | tryFinalizeTrackedAgentTask({ |
316 | 316 | runId: params.runId, |
317 | 317 | status: aborted ? "timed_out" : "succeeded", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。