From 5deaed33edcdd8b97380e979aa3d97b2e79eaa09 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 23 Aug 2022 19:00:12 +0200 Subject: Minor fixes --- src/Server.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Server.ts') diff --git a/src/Server.ts b/src/Server.ts index ce7886b9..5d7e93e1 100644 --- a/src/Server.ts +++ b/src/Server.ts @@ -4,10 +4,9 @@ process.on("uncaughtException", console.error); import * as Api from "@fosscord/api"; import { CDNServer } from "@fosscord/cdn"; import * as Gateway from "@fosscord/gateway"; -import { Config, getOrInitialiseDatabase } from "@fosscord/util"; +import { Config, getOrInitialiseDatabase, PluginLoader } from "@fosscord/util"; import * as Sentry from "@sentry/node"; import * as Tracing from "@sentry/tracing"; -import { PluginLoader } from "@fosscord/util"; import express from "express"; import http from "http"; import { bold, green, yellow } from "picocolors"; @@ -36,7 +35,7 @@ async function main() { await getOrInitialiseDatabase(); await Config.init(); await PluginConfig.init(); - + let cfg = Config.get(); //Sentry if (cfg.sentry.enabled) { console.log(`[Bundle] ${yellow("You are using Sentry! This may slightly impact performance on large loads!")}`); -- cgit 1.5.1