Repository navigation
Commit b6c22ec
committed
fix: stop capturing mid-stream iteration errors as Sentry events
Per review: iterator exceptions should just bubble out. The span still
finishes with error status and the exception re-raises, but we no longer
send the provider error as a Sentry event -- that was behavior change
versus running without the SDK.
Same change in both huggingface_hub streaming iterators for consistency;
the three regression tests now assert propagation + span status only.1 parent 17a1c02 commit b6c22ec
4 files changed
Lines changed: 3 additions & 20 deletions
File tree
- sentry_sdk/integrations
- tests/integrations
- cohere
- huggingface_hub
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | 326 | | |
328 | 327 | | |
329 | 328 | | |
| |||
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
412 | | - | |
| 411 | + | |
413 | 412 | | |
414 | 413 | | |
415 | | - | |
416 | 414 | | |
417 | 415 | | |
418 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | 901 | | |
906 | 902 | | |
907 | 903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2728 | 2728 | | |
2729 | 2729 | | |
2730 | 2730 | | |
2731 | | - | |
2732 | 2731 | | |
2733 | 2732 | | |
2734 | 2733 | | |
| |||
2751 | 2750 | | |
2752 | 2751 | | |
2753 | 2752 | | |
2754 | | - | |
2755 | | - | |
2756 | | - | |
2757 | | - | |
2758 | 2753 | | |
2759 | 2754 | | |
2760 | 2755 | | |
| |||
2769 | 2764 | | |
2770 | 2765 | | |
2771 | 2766 | | |
2772 | | - | |
2773 | 2767 | | |
2774 | 2768 | | |
2775 | 2769 | | |
| |||
2787 | 2781 | | |
2788 | 2782 | | |
2789 | 2783 | | |
2790 | | - | |
2791 | | - | |
2792 | | - | |
2793 | | - | |
0 commit comments