fix formatting

This commit is contained in:
apparentorder 2023-08-24 15:24:45 +02:00
parent 5eae6edba3
commit 1b7ae46360
No known key found for this signature in database
2 changed files with 10 additions and 4 deletions

View File

@ -180,10 +180,10 @@ impl Client {
curl_sys::CURLE_UNKNOWN_OPTION => Err(HttpError::LibcurlUnknownOption {
option: "aws-sigv4".to_string(),
minimum_version: "7.75.0".to_string(),
url: url
url,
}),
_ => Err(e.into()),
}
};
}
}

View File

@ -192,8 +192,14 @@ impl From<HttpError> for RunnerError {
message: format!("({code}) {description}"),
url,
},
HttpError::LibcurlUnknownOption { option, minimum_version, url } => RunnerError::HttpConnection {
message: format!("Option {option} requires libcurl version {minimum_version} or higher"),
HttpError::LibcurlUnknownOption {
option,
minimum_version,
url,
} => RunnerError::HttpConnection {
message: format!(
"Option {option} requires libcurl version {minimum_version} or higher"
),
url,
},
HttpError::StatuslineIsMissing { url } => RunnerError::HttpConnection {