hide errors which are not needed to be sent

This commit is contained in:
MCHost
2025-07-09 22:03:53 -04:00
parent 5eaf50f79d
commit 1a22cebe19

View File

@@ -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;