diff --git a/src/its_api.rs b/src/its_api.rs index 43fafee..4da46f8 100644 --- a/src/its_api.rs +++ b/src/its_api.rs @@ -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.