Commit 17d502d
fix: don't overwrite specific error message in catch path
Address review feedback from @YunchuWang: in the catch block, setSpanError
sets the span with the actual exception message, but setOrchestrationStatusFromActions
would then overwrite it with a generic 'Orchestration failed' because the
synthesized action has undefined result.
Now the catch path sets the status attribute directly without calling
setOrchestrationStatusFromActions, preserving the specific error message.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9fe928c commit 17d502d
1 file changed
Lines changed: 4 additions & 5 deletions
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
705 | 706 | | |
706 | 707 | | |
707 | 708 | | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
708 | 712 | | |
709 | 713 | | |
710 | 714 | | |
| |||
718 | 722 | | |
719 | 723 | | |
720 | 724 | | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | 725 | | |
727 | 726 | | |
728 | 727 | | |
| |||
0 commit comments