Skip to content

Commit

Permalink
Fix account fetching error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Oct 4, 2024
1 parent 0765341 commit 16881e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion types/src/v0/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ pub trait StateCatchup: Send + Sync + std::fmt::Debug {
.retry(self, |provider| {
provider
.try_fetch_account(height, view, fee_merkle_tree_root, account)
.map_err(|err| err.context("fetching account {account}"))
.map_err(|err| {
err.context(format!(
"fetching account {account}, height {height}, view {view:?}"
))
})
.boxed()
})
.await;
Expand Down

0 comments on commit 16881e2

Please sign in to comment.