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)}`)}`);
}
|