Improve reporting of JSON parsing error
This commit is contained in:
parent
518fb704c3
commit
295150361c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ pub enum FetchError {
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
RequestError(#[from] reqwest::Error),
|
RequestError(#[from] reqwest::Error),
|
||||||
|
|
||||||
#[error("json parse error")]
|
#[error("json parse error: {0}")]
|
||||||
JsonParseError(#[from] serde_json::Error),
|
JsonParseError(#[from] serde_json::Error),
|
||||||
|
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
|
|
Loading…
Reference in a new issue