Skip to content

Commit 9eb5048

Browse files
authored
Include inner error message in Display for SerdeError (#1481)
Signed-off-by: Erin Power <[email protected]>
1 parent 72eef44 commit 9eb5048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kube-client/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub enum Error {
4444
HttpError(#[source] http::Error),
4545

4646
/// Common error case when requesting parsing into own structs
47-
#[error("Error deserializing response")]
47+
#[error("Error deserializing response: {0}")]
4848
SerdeError(#[source] serde_json::Error),
4949

5050
/// Failed to build request

0 commit comments

Comments
 (0)