refactor(error): update Debug for Error to output 'hyper::Error'

This commit is contained in:
Sean McArthur
2019-10-17 12:18:53 -07:00
parent 1235f1de9a
commit 8e7ebd80cd

View File

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