Undefined route handling
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
If I make a request for a route that has not been defined, e.g. `GET /unknown`, I get a 404 response with `Cannot GET /unknown` but the request does not show up in the logs.
I would like to discuss the following additions:
1. Log undefined routes
2. Optionally define a custom handler for undefined routes (e.g. perhaps I want to return a JSON body instead of plain text)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.