K2V client improvements #307

Merged
lx merged 4 commits from improve-k2v-client into main 2022-05-24 10:48:06 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit a73f174ada - Show all commits
src/k2v-client

View file

@ -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>,

View file

@ -332,7 +332,7 @@ impl K2vClient {
res.status,
"unknown".into(),
err_body_str.into(),
"".into(),
"?".into(),
),
};
return Err(err);