We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7214ef commit 7986917Copy full SHA for 7986917
1 file changed
src/agents/tools/sessions-send-tool.ts
@@ -231,7 +231,9 @@ async function startAgentRun(params: {
231
} catch (err) {
232
const queueSummary =
233
formatEmbeddedPiQueueFailureSummary(queueOutcome) ?? "active run queue rejected";
234
- throw new Error(`${queueSummary}; fallback_failed error=${formatErrorMessage(err)}`);
+ throw new Error(`${queueSummary}; fallback_failed error=${formatErrorMessage(err)}`, {
235
+ cause: err,
236
+ });
237
}
238
239
const response = await params.callGateway<{ runId: string }>({
0 commit comments