fix error reporting from ITS API

This commit is contained in:
Xiretza 2022-11-13 10:53:38 +01:00
parent 3dfd20faaa
commit d64429a009

View file

@ -7,9 +7,9 @@ pub enum Error {
#[error("invalid URL")]
InvalidUrl(#[from] url::ParseError),
#[error("invalid response")]
InvalidResponse(reqwest::Error),
InvalidResponse(#[source] reqwest::Error),
#[error("network request failed")]
Network(reqwest::Error),
Network(#[source] reqwest::Error),
}
/// Handler for the IT-Syndikat API.