refactor(error): update Debug for Error to output 'hyper::Error'
This commit is contained in:
@@ -292,7 +292,7 @@ impl Error {
|
||||
|
||||
impl fmt::Debug for Error {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let mut f = f.debug_tuple("Error");
|
||||
let mut f = f.debug_tuple("hyper::Error");
|
||||
f.field(&self.inner.kind);
|
||||
if let Some(ref cause) = self.inner.cause {
|
||||
f.field(cause);
|
||||
|
||||
Reference in New Issue
Block a user