Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix aiohttp disconnect error on websockets
aiohttp will throw if the handler doesn't return anything. ```python 14:11:35 aiohttp ERRO Missing return statement on request handler Traceback (most recent call last): File "/Users/steve/conda/envs/port/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 653, in finish_response prepare_meth = resp.prepare ^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'prepare' ``` https://docs.aiohttp.org/en/stable/web_quickstart.html#websockets
- Loading branch information