Update sentry to latest

This commit is contained in:
Emma [it/its]@Rory&
2024-10-30 00:32:59 +01:00
parent 21f88e400d
commit e0d0022675
4 changed files with 866 additions and 129 deletions
+2 -2
View File
@@ -89,11 +89,11 @@ export async function Message(this: WebSocket, buffer: WS.Data) {
}
try {
return await Sentry.startActiveSpan(
return await Sentry.startSpan( // Emma [it/its]@Rory&: is this the right function to migrate to in v8?
{
op: "websocket.server",
name: `GATEWAY ${OPCODES[data.op]}`,
data: {
attributes: { // this needs to be reworked :)
...data.d,
token: data?.d?.token ? "[Redacted]" : undefined,
},