1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-12-28 17:44:33 +01:00

improvement: better logs on deserialization errors

This commit is contained in:
Timo Kösters 2020-09-16 15:08:51 +02:00
parent f4078a29eb
commit a567cd81d5
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4

View file

@ -160,7 +160,7 @@ where
.expect("reqwest body is valid http body"),
);
response.map_err(|e| {
warn!("{}", e);
warn!("Server returned bad response: {:?}", e);
Error::BadServerResponse("Server returned bad response.")
})
}