From ec4ec50600f742b61b6c7c4f302a0775dff5be09 Mon Sep 17 00:00:00 2001 From: Papa Date: Sat, 11 Nov 2023 21:10:03 -0700 Subject: [PATCH] Re-add debug logging to the gateway --- packages/runtime-gateway/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/runtime-gateway/src/index.ts b/packages/runtime-gateway/src/index.ts index ae5abd11..9f1079ee 100644 --- a/packages/runtime-gateway/src/index.ts +++ b/packages/runtime-gateway/src/index.ts @@ -46,7 +46,8 @@ confprovider.addCallback(() => { await sql.connect() void new REPLProvider({ client, webconnector, confprovider, sql, startAnnouncement }) - client.on("error", console.error) + client.on("debug", d => console.log(d)) + client.on("error", e => console.error(e)) client.on("event", async packet => { if (packet.t === "VOICE_STATE_UPDATE") {