From 0560e8b0275a51f1ad862993c7a8eb78be9d7bb7 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 22 Sep 2022 15:20:45 +1000 Subject: [PATCH] Flter close messages in sentry --- bundle/src/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts index db417f11..57e8c63a 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts @@ -94,7 +94,7 @@ async function main() { if (event.breadcrumbs) { event.breadcrumbs = event.breadcrumbs.filter(x => { if (x.message?.includes("identified as")) return false; - if (x.message?.includes("[WebSocket] closed 4009 ")) return false; + if (x.message?.includes("[WebSocket] closed")) return false; if (x.message?.includes("Got Resume -> cancel not implemented")) return false; if (x.message?.includes("[Gateway] New connection from")) return false;