From 91faaa7c0e8b295a8cc4a139a8c56e8e5046294e Mon Sep 17 00:00:00 2001 From: qima Date: Tue, 11 Jun 2024 06:38:07 +0800 Subject: [PATCH] fix(auditor): improve tracking coverage --- sn_client/src/audit/dag_crawling.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sn_client/src/audit/dag_crawling.rs b/sn_client/src/audit/dag_crawling.rs index ce9609380a..7adfa88a95 100644 --- a/sn_client/src/audit/dag_crawling.rs +++ b/sn_client/src/audit/dag_crawling.rs @@ -170,7 +170,9 @@ impl Client { let _ = failed_utxos.insert(address, Instant::now() + reattempt_interval); } InternalGetNetworkSpend::Error(e) => { - warn!("Got a fetching error {e:?}"); + warn!("Fetching spend {address:?} result in error {e:?}"); + // Error of `NotEnoughCopies` could be re-attempted and succeed eventually. + let _ = failed_utxos.insert(address, Instant::now() + reattempt_interval); } } }