Skip to content

Commit

Permalink
Remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayad committed Jul 25, 2024
1 parent 817fe8e commit 4f35730
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4f35730

Please sign in to comment.