From d101fb7f77822aac2a3d42ca1529028405cfad0d Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 9 Sep 2022 14:08:20 +0200 Subject: refactor ui layout --- client-web/source/protocol/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client-web/source/protocol/mod.ts') diff --git a/client-web/source/protocol/mod.ts b/client-web/source/protocol/mod.ts index 53cbb86..f976f23 100644 --- a/client-web/source/protocol/mod.ts +++ b/client-web/source/protocol/mod.ts @@ -41,7 +41,7 @@ export class SignalingConnection { setInterval(() => this.send_control({ ping: null }), 30000) // stupid workaround for nginx disconnecting inactive connections } on_error() { - log("error", "websocket error occurred!") + log({ scope: "ws", error: true }, "websocket error occurred!") } async on_message(data: string) { const packet: ClientboundPacket = JSON.parse(data) // TODO dont crash if invalid -- cgit v1.2.3-70-g09d2