K2V client improvements #307
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ use thiserror::Error;
|
|||
/// Errors returned by this crate
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("{0} {1}: {2} (at {3})")]
|
||||
#[error("{0}, {1}: {2} (path = {3})")]
|
||||
Remote(
|
||||
http::StatusCode,
|
||||
Cow<'static, str>,
|
||||
|
|
|
@ -332,7 +332,7 @@ impl K2vClient {
|
|||
res.status,
|
||||
"unknown".into(),
|
||||
err_body_str.into(),
|
||||
"".into(),
|
||||
"?".into(),
|
||||
),
|
||||
};
|
||||
return Err(err);
|
||||
|
|
Loading…
Reference in a new issue