Skip to content

Commit

Permalink
feat: add not found debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
mav-rik committed Apr 12, 2023
1 parent 9342635 commit a1bf8f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/event-http/src/http-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class WooksHttp extends WooksAdapterBase {
}
} else {
// not found
this.logger.debug(`404 Not found (${req.method as string})${req.url as string}`)
this.respond(new HttpError(404))
clearCtx()
}
Expand Down

0 comments on commit a1bf8f4

Please sign in to comment.