Skip to content

Commit b9c84b2

Browse files
committed
fix: handle unused must-use Clippy warning in load_repos_from_dh
1 parent b2ef740 commit b9c84b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/group.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,9 @@ impl Group {
336336
let mut i = 1;
337337
while i <= count {
338338
println!("Loading from DHT {}", i);
339-
self.load_repo_from_dht(i.try_into()?).await?;
339+
if let Err(e) = self.load_repo_from_dht(i.try_into()?).await {
340+
eprintln!("Warning: Failed to load repo {} from DHT: {:?}", i, e);
341+
}
340342
i += 1;
341343
}
342344

0 commit comments

Comments
 (0)