mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 09:44:22 +03:00
fix formatting
This commit is contained in:
parent
5eae6edba3
commit
1b7ae46360
@ -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()),
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user