Commit ac6cc7d
committed
Generic 500 body in outer POST except; make leak-test assertion load-bearing
The outer except now returns a fixed message instead of embedding the
exception text in the response body, matching the convention in runner.py
and jsonrpc_dispatcher.py (detail goes to logger.exception).
Moves the _request_streams/_sse_stream_writers emptiness assertions inside
the connect() context so connect()'s own teardown doesn't make them vacuous,
and asserts the store's exception message is absent from the 500 body.1 parent 1f1cb48 commit ac6cc7d
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
154 | 158 | | |
155 | | - | |
156 | | - | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
| 162 | + | |
0 commit comments