Works on sentry config

parent 7b0d19fb
...@@ -39,7 +39,7 @@ export const routingControllerOptions: RoutingControllersOptions = { ...@@ -39,7 +39,7 @@ export const routingControllerOptions: RoutingControllersOptions = {
controllers: [ controllers: [
AdminRouter, ApiRouter, ExpiryQuizRouter, I18nApiRouter, LegacyApiRouter, LibRouter, LobbyRouter, MemberRouter, NicksRouter, QuizRouter, AdminRouter, ApiRouter, ExpiryQuizRouter, I18nApiRouter, LegacyApiRouter, LibRouter, LobbyRouter, MemberRouter, NicksRouter, QuizRouter,
], ],
middlewares: [ErrorHandlerMiddleware, I18nMiddleware], middlewares: [Handlers.errorHandler(), ErrorHandlerMiddleware, I18nMiddleware],
}; };
// Creates and configures an ExpressJS web server. // Creates and configures an ExpressJS web server.
...@@ -60,7 +60,6 @@ class App { ...@@ -60,7 +60,6 @@ class App {
this.middleware(); this.middleware();
this.routes(); this.routes();
this._express.use(Handlers.errorHandler());
useExpressServer(this._express, routingControllerOptions); 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