Skip to content

Commit 50dc8ea

Browse files
committed
Migrate from Error::cause to Error::source
1 parent 6a0ad38 commit 50dc8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl<E> LoggableError for E
7070
let mut current = Some(self as &EError);
7171
while let Some(err) = current {
7272
error!("{}", err);
73-
current = err.cause();
73+
current = err.source();
7474
}
7575
}
7676
}

0 commit comments

Comments
 (0)