We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741dc48 commit dc3e462Copy full SHA for dc3e462
h11/_state.py
@@ -307,7 +307,9 @@ def _fire_state_triggered_transitions(self):
307
308
def start_next_cycle(self):
309
if self.states != {CLIENT: DONE, SERVER: DONE}:
310
- raise LocalProtocolError("not in a reusable state")
+ raise LocalProtocolError(
311
+ "not in a reusable state. self.states={}".format(self.states)
312
+ )
313
# Can't reach DONE/DONE with any of these active, but still, let's be
314
# sure.
315
assert self.keep_alive
0 commit comments