improvement: better warnings when server is unreachable

This commit is contained in:
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

View File

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