core: fix error for asgi error handler with websockets
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
4bc50e7f57
commit
8d6227377f
|
@ -33,7 +33,6 @@ class ASGIErrorHandler:
|
|||
)
|
||||
return await send(
|
||||
{
|
||||
"type": "websocket.send",
|
||||
"text": b"Internal server error",
|
||||
"type": "websocket.close",
|
||||
}
|
||||
)
|
||||
|
|
Reference in New Issue