improvement: better warnings when server is unreachable

next
Timo Kösters 2020-12-23 15:53:41 +01:00
parent c1bc70aeca
commit fb9bd34696
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ pub enum Error {
#[from] #[from]
source: image::error::ImageError, source: image::error::ImageError,
}, },
#[error("Could not connect to server.")] #[error("Could not connect to server: {source}")]
ReqwestError { ReqwestError {
#[from] #[from]
source: reqwest::Error, source: reqwest::Error,