From 0c3d8a792f9f17f2f28ad449cd8bc5c2a381c8d5 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 29 Sep 2025 21:28:06 +0200 Subject: Drop @sentry/node (Sentry support) - untested and unused --- src/bundle/Server.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/bundle') diff --git a/src/bundle/Server.ts b/src/bundle/Server.ts index 8ef727509..e6fcd97e0 100644 --- a/src/bundle/Server.ts +++ b/src/bundle/Server.ts @@ -28,7 +28,7 @@ import * as Webrtc from "@spacebar/webrtc"; import { CDNServer } from "@spacebar/cdn"; import express from "express"; import { green, bold } from "picocolors"; -import { Config, initDatabase, Sentry } from "@spacebar/util"; +import { Config, initDatabase } from "@spacebar/util"; const app = express(); const server = http.createServer(); @@ -53,13 +53,11 @@ process.on("SIGTERM", async () => { await api.stop(); await webrtc.stop(); server.close(); - Sentry.close(); }); async function main() { await initDatabase(); await Config.init(); - await Sentry.init(app); const logRequests = process.env["LOG_REQUESTS"] != undefined; if (logRequests) { @@ -89,8 +87,6 @@ async function main() { webrtc.start(), ]); - Sentry.errorHandler(app); - console.log(`[Server] ${green(`Listening on port ${bold(port)}`)}`); } -- cgit 1.5.1