fix error reporting from ITS API
This commit is contained in:
parent
3dfd20faaa
commit
d64429a009
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@ pub enum Error {
|
||||||
#[error("invalid URL")]
|
#[error("invalid URL")]
|
||||||
InvalidUrl(#[from] url::ParseError),
|
InvalidUrl(#[from] url::ParseError),
|
||||||
#[error("invalid response")]
|
#[error("invalid response")]
|
||||||
InvalidResponse(reqwest::Error),
|
InvalidResponse(#[source] reqwest::Error),
|
||||||
#[error("network request failed")]
|
#[error("network request failed")]
|
||||||
Network(reqwest::Error),
|
Network(#[source] reqwest::Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Handler for the IT-Syndikat API.
|
/// Handler for the IT-Syndikat API.
|
||||||
|
|
Loading…
Reference in a new issue