diff --git a/api_client/src/lib.rs b/api_client/src/lib.rs index 973f2ffbc..71ba9e438 100644 --- a/api_client/src/lib.rs +++ b/api_client/src/lib.rs @@ -20,7 +20,7 @@ pub enum Error { MissingProtocol, #[error("Error parsing HTTP Content-Length field: {0}")] ContentLengthParsing(std::num::ParseIntError), - #[error("Server responded with an error: {0:?}")] + #[error("Server responded with an error: {0:?}: {1:?}")] ServerResponse(StatusCode, Option), }