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