Skip to content

Commit

Permalink
Adding todo
Browse files Browse the repository at this point in the history
  • Loading branch information
hgorges committed Aug 29, 2024
1 parent 48861e4 commit 2a819ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function errorHandler(
res: Response,
_next: NextFunction,
): void {
// TODO render error page here to allow custom status codes
console.error(error);
res.redirect(`/error`);
}

0 comments on commit 2a819ce

Please sign in to comment.