summary refs log tree commit diff
path: root/src/api/util
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-09-29 21:28:06 +0200
committerRory& <root@rory.gay>2025-09-29 22:08:03 +0200
commit0c3d8a792f9f17f2f28ad449cd8bc5c2a381c8d5 (patch)
treec3496223456f3af11f5ce322d36619c22f961cb1 /src/api/util
parentUpdate file-type (diff)
downloadserver-ts-0c3d8a792f9f17f2f28ad449cd8bc5c2a381c8d5.tar.xz
Drop @sentry/node (Sentry support) - untested and unused
Diffstat (limited to 'src/api/util')
-rw-r--r--src/api/util/handlers/Message.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index 1422702d0..8356ee618 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts
@@ -16,7 +16,6 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import * as Sentry from "@sentry/node"; import { EmbedHandlers } from "@spacebar/api"; import { Application, @@ -422,12 +421,6 @@ export async function postHandleMessage(message: Message) { } } catch (e) { console.error(`[Embeds] Error while generating embed for ${link}`, e); - Sentry.captureException(e, (scope) => { - scope.clear(); - scope.setContext("request", { url: link }); - return scope; - }); - continue; } }