From 451065229d47288d0f4b0b055dc459e7b7984d86 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 5 Aug 2020 00:45:39 +0200 Subject: client::Error::Deserialize: Include source error message Forgot to include this so we didn't get extra information about the cause of the error. --- github-suggestion/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-suggestion/src/client.rs b/github-suggestion/src/client.rs index fc009ce..bb91441 100644 --- a/github-suggestion/src/client.rs +++ b/github-suggestion/src/client.rs @@ -27,7 +27,7 @@ pub enum Error { #[error("GitHub client error: {0}")] Github(String), - #[error("Unable to deserialize")] + #[error("Unable to deserialize: {0}")] Deserialize(#[from] serde_json::error::Error), } -- cgit v1.2.3