From c2c183d5ac76813fd4f961baabb17ca7bb316926 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 6 Nov 2022 21:40:09 -0800 Subject: send more invoice details --- lib/sockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sockets.js') diff --git a/lib/sockets.js b/lib/sockets.js index fb007a17..30eb86f0 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -200,7 +200,7 @@ app.register(async function(app) { }); ws.on("close", function(code, reason) { - // if (reason) console.log("closing socket", reason.toString(), id); + // console.log("closing socket", reason && reason.toString(), id); try { const username = names[id]; if (store.sockets[username] && store.sockets[username][id]) { -- cgit v1.2.3