log path parameters when try http request fails
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
6e0d6c78fb
commit
27d6ce3cc5
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ where
|
|||
debug!("{:?}", http_request);
|
||||
|
||||
let body = T::try_from_http_request(http_request, &path_params).map_err(|e| {
|
||||
warn!("try_from_http_request failed: {:?}", e);
|
||||
warn!("try_from_http_request failed: {e:?}\nPath parameters: {path_params:?}",);
|
||||
debug!("JSON body: {:?}", json_body);
|
||||
Error::BadRequest(ErrorKind::BadJson, "Failed to deserialize request.")
|
||||
})?;
|
||||
|
|
Loading…
Add table
Reference in a new issue