Merge pull request #231 from PR0M3TH3AN/code-health/relay-health-comment-8690906014173608719

Sweep: Add comment to swallowed error in relay-health.mjs
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-17 13:37:43 -05:00
commit f0437a9647
1 file changed
+2
+2
View File
@@ -138,6 +138,8 @@ async function probePublishRead(relayUrl, namespace, timeoutMs) {
try {
message = JSON.parse(raw.toString());
} catch {
// Ignore malformed messages. The relay might be sending non-JSON data
// or we might have a protocol mismatch. We only care about valid JSON.
return;
}
if (!Array.isArray(message) || message.length < 2) return;