From 4f3573072fb979b75672aeea061726814ca0d5d2 Mon Sep 17 00:00:00 2001 From: Moussa Kayad Date: Thu, 25 Jul 2024 14:39:50 +0100 Subject: [PATCH] Remove log --- src/app.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 73225e73..4e02560b 100644 --- a/src/app.ts +++ b/src/app.ts @@ -96,7 +96,6 @@ app.use(function (err: any, req: Request, res: Response, _next: NextFunction) { res.locals.error = req.app.get('env') === 'development' ? err : {} const statusCode: number = err.statusCode - console.log(err.statusCode) res.status(statusCode) switch (statusCode) { case 404: