-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't forward error from decodeURI to next middleware
Instead of forwarding error from `decodeuRI` further, triggering error middleware and subsequently 500 response, just ignore it. Ignoring the error will likely crash in Nuxt later anyway but that is IMO better as: - This package won't get the blame when error shows up locally in production - Error triggered within Nuxt doesn't trigger 500 but 400 response which is better as this is input error rather than server error.
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters