fix: remove quotes

This commit is contained in:
2026-04-17 10:11:59 +08:00
parent b64cae1b7f
commit 914ad71a43

View File

@@ -151,7 +151,7 @@ async def handler(request: ws.WebSocketRequest):
exc = e
except KeyError as e:
err = Error.METHOD_NOT_FOUND
err.data = str(e)
err.data = str(e).strip("'")
exc = e
except ws.ConnectionClosed as e:
logger.critical('Going away', exc_info=e)