1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 10:22:39 +01:00

Flter close messages in sentry

This commit is contained in:
Madeline 2022-09-22 15:20:45 +10:00
parent b9a93f1672
commit 0560e8b027
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

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