Skip to content
Snippets Groups Projects
Unverified Commit a567cd81 authored by Timo Kösters's avatar Timo Kösters
Browse files

improvement: better logs on deserialization errors

parent f4078a29
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,7 @@ pub async fn send_request<T: OutgoingRequest>( ...@@ -160,7 +160,7 @@ pub async fn send_request<T: OutgoingRequest>(
.expect("reqwest body is valid http body"), .expect("reqwest body is valid http body"),
); );
response.map_err(|e| { response.map_err(|e| {
warn!("{}", e); warn!("Server returned bad response: {:?}", e);
Error::BadServerResponse("Server returned bad response.") Error::BadServerResponse("Server returned bad response.")
}) })
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment