hide errors which are not needed to be sent
This commit is contained in:
@@ -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 (!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 (!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 (!sftpHashResponse.success) response.errors.push(`my-sftp-hash: ${sftpHashResponse.message || 'Failed to fetch'}`);
|
||||||
|
|
||||||
client.cache['holesail-hashes'] = response;
|
client.cache['holesail-hashes'] = response;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user