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
|
||||
#[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