From 450b7d3219ea8bfa9da0b80ba7f559f57ac36e6a Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 4 Aug 2024 16:31:29 -0400 Subject: [PATCH] Update logging --- modules/socketServerWrappers.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/socketServerWrappers.mjs b/modules/socketServerWrappers.mjs index ccc4e16..6529e64 100644 --- a/modules/socketServerWrappers.mjs +++ b/modules/socketServerWrappers.mjs @@ -195,6 +195,7 @@ export const checkIfNodeHasOpenDiscordClient = async (openSocket) => { // Check the open socket to see if the node has an open discord client let hasOpenDiscordClient = false; await new Promise((res) => { + log.INFO("Checking if socket has an open connection:", openSocket.node.name) openSocket.emit('node-check-discord-open-client', (status) => { if (status) { log.INFO("Socket has an open discord client:", openSocket.node.name, status); @@ -216,6 +217,7 @@ export const getNodeCurrentListeningSystem = async (openSocket) => { // check what system the socket is listening to let currentSystem = undefined; await new Promise((res) => { + log.INFO("Checking system node is currently listening to:", openSocket.node.name) openSocket.emit('node-check-current-system', (system) => { if (system) { log.INFO("Socket is listening to system:", openSocket.node.name, system);