Skip to content

Commit ce1b063

Browse files
authored
fix(core): report error stack from function executor. (#509)
1 parent 4b52261 commit ce1b063

File tree

1 file changed

+1
-0
lines changed
  • packages/core/src/orchestrate

1 file changed

+1
-0
lines changed

packages/core/src/orchestrate/call.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ async function executeFunction<Model extends ILlmSchema.Model>(
465465
...error,
466466
name: error.name,
467467
message: error.message,
468+
stack: error.stack,
468469
}
469470
: error,
470471
success: false,

0 commit comments

Comments
 (0)