slightly change error formatting
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Alex 2022-05-24 12:35:08 +02:00
parent 1b89225c78
commit a73f174ada
Signed by: lx
GPG key ID: 0E496D15096376BE
2 changed files with 2 additions and 2 deletions

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);