Skip to content

Commit

Permalink
chore(blockstore-server): more informative log
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-wright committed Oct 20, 2023
1 parent 9e26e07 commit c66bfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockstore-server/src/blockstore_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ impl<C: Collection> BlockstoreServerInner<C> {
}
},
Ok(Err(error_res)) => {
error!("Failed to fetch data from peer: {:?}", error_res.error);
if let Some(tx) = pending_requests.remove(&error_res.request) {
tx.send(Err(error_res.error)).expect("Failed to send response");
}
error!("Failed to fetch data from peer");
},
Err(e) => error!("Failed to join task: {e:?}"),
}
Expand Down

0 comments on commit c66bfca

Please sign in to comment.