Skip to content

Commit

Permalink
Merge pull request #2595 from subspace/print-chunk-reading-error
Browse files Browse the repository at this point in the history
Print chunk reading error in logs
  • Loading branch information
nazar-pc authored Mar 9, 2024
2 parents 2e145fa + 66a288a commit 58aa974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-farmer-components/src/reading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub enum ReadingError {
///
/// This is an implementation bug, most likely due to mismatch between sector contents map and
/// other farming parameters.
#[error("Failed to read chunk at location {chunk_location}")]
#[error("Failed to read chunk at location {chunk_location}: {error}")]
FailedToReadChunk {
/// Chunk location
chunk_location: u64,
Expand Down

0 comments on commit 58aa974

Please sign in to comment.