mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 05:14:15 +00:00
Drop @sentry/node (Sentry support) - untested and unused
This commit is contained in:
@@ -22,7 +22,6 @@ import {
|
||||
Config,
|
||||
initDatabase,
|
||||
registerRoutes,
|
||||
Sentry,
|
||||
} from "@spacebar/util";
|
||||
import { CORS, BodyParser } from "@spacebar/api";
|
||||
import path from "path";
|
||||
@@ -45,7 +44,6 @@ export class CDNServer extends Server {
|
||||
await initDatabase();
|
||||
await Config.init();
|
||||
await this.cleanupSignaturesInDb();
|
||||
await Sentry.init(this.app);
|
||||
|
||||
const logRequests = process.env["LOG_REQUESTS"] != undefined;
|
||||
if (logRequests) {
|
||||
@@ -123,8 +121,6 @@ export class CDNServer extends Server {
|
||||
);
|
||||
this.log("verbose", "[Server] Route /guilds/banners registered");
|
||||
|
||||
Sentry.errorHandler(this.app);
|
||||
|
||||
return super.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user