aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-08-05 00:45:39 +0200
committerTeddy Wing2020-08-05 00:45:39 +0200
commit451065229d47288d0f4b0b055dc459e7b7984d86 (patch)
tree5cfecc342e020dd755876ceabe5f743d072efb55
parentfdf33cf50c2747976bc683ccd74b55d4c14053e0 (diff)
downloadgit-suggestion-451065229d47288d0f4b0b055dc459e7b7984d86.tar.bz2
client::Error::Deserialize: Include source error message
Forgot to include this so we didn't get extra information about the cause of the error.
-rw-r--r--github-suggestion/src/client.rs2
1 files changed, 1 insertions, 1 deletions
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),
}