Commit 0cbdb8d
committed
fix: improve protocol error handling in sendTelegram and fix test
- Updated sendTelegram to properly handle protocol errors by checking isProtocolError flag before creating new WorkflowError
- Fixed test to use Web3TelegramWorkflowError instead of WorkflowError from @iexec/dataprotector
- Ensures protocol errors are properly detected and re-thrown with isProtocolError flag set1 parent 5b37ed5 commit 0cbdb8d
File tree
2 files changed
+10
-3
lines changed- src/web3telegram
- tests/e2e
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
308 | 314 | | |
| 315 | + | |
309 | 316 | | |
310 | 317 | | |
311 | 318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
0 commit comments