Skip to content
This repository was archived by the owner on Jun 29, 2026. It is now read-only.

Commit fa71277

Browse files
committed
fix: Remove stale .source() call with unused result
This was likely a debugging leftover — the error source chain is already captured via the `successors` iterator below.
1 parent 8b5c1bb commit fa71277

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎src/error.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ impl<T> ComponentResult<T> {
3131
error = &err as &dyn std::error::Error,
3232
"error reported by {component}, ignoring...",
3333
);
34-
err.source();
3534
ComponentResult::Err {
3635
inner: ComponentError {
3736
message: err.to_string(),

0 commit comments

Comments
 (0)