summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-22 15:20:45 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-22 15:20:45 +1000
commit0560e8b0275a51f1ad862993c7a8eb78be9d7bb7 (patch)
tree1a86442011ed593d6effe5cbfd061cb2a3804157
parentFixed? sentry stuff (diff)
downloadserver-0560e8b0275a51f1ad862993c7a8eb78be9d7bb7.tar.xz
Flter close messages in sentry
-rw-r--r--bundle/src/Server.ts2
1 files changed, 1 insertions, 1 deletions
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;