From 1a22cebe1951a50b9c3af87617bc81da2cbab7f1 Mon Sep 17 00:00:00 2001 From: MCHost Date: Wed, 9 Jul 2025 22:03:53 -0400 Subject: [PATCH] hide errors which are not needed to be sent --- includes/websocket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/websocket.js b/includes/websocket.js index d89f4f4..b1ee83a 100644 --- a/includes/websocket.js +++ b/includes/websocket.js @@ -123,8 +123,8 @@ async function fetchAndSendUpdate(ws, endpoint, client, docker) { }; if (!hashResponse.success) response.errors.push(`my-hash: ${hashResponse.message || 'Failed to fetch'}`); - if (!geyserHashResponse.success) response.errors.push(`my-geyser-hash: ${geyserHashResponse.message || 'Failed to fetch'}`); - if (!sftpHashResponse.success) response.errors.push(`my-sftp-hash: ${sftpHashResponse.message || 'Failed to fetch'}`); + // if (!geyserHashResponse.success) response.errors.push(`my-geyser-hash: ${geyserHashResponse.message || 'Failed to fetch'}`); + // if (!sftpHashResponse.success) response.errors.push(`my-sftp-hash: ${sftpHashResponse.message || 'Failed to fetch'}`); client.cache['holesail-hashes'] = response;