From 9eb5048c417d44af3582dd711760d63a75e84353 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Wed, 1 May 2024 20:14:44 +0200 Subject: [PATCH] Include inner error message in Display for SerdeError (#1481) Signed-off-by: Erin Power --- kube-client/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube-client/src/error.rs b/kube-client/src/error.rs index 09aff9164..7bed56cf0 100644 --- a/kube-client/src/error.rs +++ b/kube-client/src/error.rs @@ -44,7 +44,7 @@ pub enum Error { HttpError(#[source] http::Error), /// Common error case when requesting parsing into own structs - #[error("Error deserializing response")] + #[error("Error deserializing response: {0}")] SerdeError(#[source] serde_json::Error), /// Failed to build request