core: fix error for asgi error handler with websockets

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-25 10:23:57 +02:00
parent 4bc50e7f57
commit 8d6227377f
1 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,6 @@ class ASGIErrorHandler:
)
return await send(
{
"type": "websocket.send",
"text": b"Internal server error",
"type": "websocket.close",
}
)