Skip to content

Commit

Permalink
final nocov
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Dec 28, 2023
1 parent d7f4726 commit f29b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/reactpy/reactpy/backend/starlette.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async def model_stream(socket: WebSocket) -> None:
if isinstance(e, WebSocketDisconnect):
logger.info(f"WebSocket disconnect: {e.code}")
break
else:
else: # nocv
raise

app.add_websocket_route(str(STREAM_PATH), model_stream)
Expand Down

0 comments on commit f29b233

Please sign in to comment.