diff --git a/index.mjs b/index.mjs index 1368513..c4645d7 100644 --- a/index.mjs +++ b/index.mjs @@ -2,7 +2,8 @@ import { Authorizer } from "@authorizerdev/authorizer-js"; import { Server } from "@hocuspocus/server"; import Sentry from "@sentry/node"; -Sentry.init({ dsn: process.env.GLITCHTIP_DSN }); +const s = Sentry.init({ dsn: process.env.GLITCHTIP_DSN }); +console.debug(s); const port = process.env.PORT || 4000; const authorizer = new Authorizer({ @@ -10,8 +11,10 @@ const authorizer = new Authorizer({ authorizerURL: process.env.AUTHORIZER_URL || "https://auth.discours.io", redirectURL: process.env.REDIRECT_URL || "https://testing.discours.io", }); +console.debug(authorizer); const startServer = async () => { + console.info("Starting server..."); const server = await Server.configure({ port: process.env.PORT || 4000, async onConnect({ connection }) {