Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 3d5e634

Browse files
Refactored errors
1 parent b090ff8 commit 3d5e634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { NotFoundError, ServerError } from "../responses";
44

55
export default (app: Application) => {
66
app.use((req: Request, res: Response, next: NextFunction) => {
7-
Logger.http(`Route not found: ${req.path}`);
7+
Logger.http(`Route not found: ${req.method} ${req.path}`);
88
return NotFoundError(res);
99
});
1010

0 commit comments

Comments
 (0)