Commit 0aa9632
Narrow the catch from bare `except: pass` to `except TypeError`
with a string check, so that only missing `__cuda_stream__` is
silently handled. Buggy protocol implementations and other
exceptions now propagate correctly.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7832aaf commit 0aa9632
1 file changed
Lines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
487 | 483 | | |
0 commit comments