diff options
author | Teddy Wing | 2020-08-05 00:45:39 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-05 00:45:39 +0200 |
commit | 451065229d47288d0f4b0b055dc459e7b7984d86 (patch) | |
tree | 5cfecc342e020dd755876ceabe5f743d072efb55 | |
parent | fdf33cf50c2747976bc683ccd74b55d4c14053e0 (diff) | |
download | git-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.rs | 2 |
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), } |