Commit 401cd1b
committed
Raise RuntimeError when first-chunk callback runs without a task
Replace the assert with a RuntimeError to match the codebase's
idiomatic handling of programmer errors, per PR review feedback.
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>1 parent 62927b7 commit 401cd1b
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| |||
0 commit comments