Skip to content

Commit

Permalink
Do not log 404 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Apr 19, 2024
1 parent 5ea41e8 commit eb247d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ const Err = (ctx: Context, status: Status, message: string) => {
status,
message,
};
logger.error(message);

status !== Status.NotFound && logger.error(message);
};

const apiV1 = new Router<AppState>();
Expand Down

0 comments on commit eb247d3

Please sign in to comment.