diff --git a/src/App.ts b/src/App.ts index 20f20c1e2b3a90e347f94808e8c84e4427481090..6e22f9b608358a589fa91222096a37bde0fb5b8e 100644 --- a/src/App.ts +++ b/src/App.ts @@ -62,9 +62,9 @@ class App { this.middleware(); this.routes(); - this._express.use(Handlers.errorHandler()); - useExpressServer(this._express, routingControllerOptions); + + this._express.use(Handlers.errorHandler()); } // Configure Express middleware.