Repository navigation
Commit 96427c4
fix(execution): keep the stream-error predicates safe for nullish rejections
isClientDisconnectError read error.name unguarded, so a stream that rejected
with null or undefined would throw inside the catch and mask the original
failure. Both predicates now take unknown and bail on non-object values; the
executor test covers a nullish body-reader rejection.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 623b3e9 commit 96427c4
2 files changed
Lines changed: 7 additions & 5 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/w/[workflowId]/utils
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments