summary refs log tree commit diff
path: root/src/bundle
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/bundle
parentUpdate file-type (diff)
downloadserver-ts-0c3d8a792f9f17f2f28ad449cd8bc5c2a381c8d5.tar.xz
Drop @sentry/node (Sentry support) - untested and unused
Diffstat (limited to 'src/bundle')
-rw-r--r--src/bundle/Server.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bundle/Server.ts b/src/bundle/Server.ts

index 8ef72750..e6fcd97e 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)}`)}`); }