fix(copilot): normalize terminal prompt errors · openclaw/openclaw@13e77cc
openclaw
·
2026-06-21
·
via Recent Commits to openclaw:main
Commit 13e77cc
fix(copilot): normalize terminal prompt errors
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -175,7 +175,7 @@ async function finalizeCopilotAttempt(
|
175 | 175 | messages: result.messagesSnapshot, |
176 | 176 | success: !result.aborted && !result.promptError && !result.timedOut, |
177 | 177 | ...(result.promptError |
178 | | - ? { error: result.promptError.message } |
| 178 | + ? { error: toError(result.promptError).message } |
179 | 179 | : result.timedOut |
180 | 180 | ? { error: "Copilot SDK turn timed out." } |
181 | 181 | : {}), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments