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(
|
return await send(
|
||||||
{
|
{
|
||||||
"type": "websocket.send",
|
"type": "websocket.close",
|
||||||
"text": b"Internal server error",
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue