You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert pagination ISE into a Bad Request response
Errors in parsing the pagination query string parameters can be returned
to the client and do not need to propagate up to the logging middleware.
The following have been observed in production logs:
* error="cannot parse integer from empty string" for
`/api/v1/crates?page=&per_page=50&sort=downloads`
* error="invalid digit found in string" for
`/api/v1/crates?page=1&per_page=100%22%EF%BC%8Cexception"`
0 commit comments