Works on sentry config

parent 61e759f5
......@@ -39,7 +39,7 @@ export const routingControllerOptions: RoutingControllersOptions = {
controllers: [
AdminRouter, ApiRouter, ExpiryQuizRouter, I18nApiRouter, LegacyApiRouter, LibRouter, LobbyRouter, MemberRouter, NicksRouter, QuizRouter,
],
middlewares: [Handlers.errorHandler(), I18nMiddleware],
middlewares: [I18nMiddleware],
};
// Creates and configures an ExpressJS web server.
......@@ -62,6 +62,8 @@ class App {
this.middleware();
this.routes();
this._express.use(Handlers.errorHandler());
useExpressServer(this._express, routingControllerOptions);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment