Skip to content

Commit

Permalink
fix: add detail to IO error (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchere authored Dec 15, 2024
1 parent e8fd13c commit a96a422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub enum WalError {
#[error("slot not found in chain {0}")]
SlotNotFound(BlockSlot),

#[error("IO error")]
#[error("IO error: {0}")]
IO(#[source] Box<dyn std::error::Error + Send + Sync>),
}

Expand Down

0 comments on commit a96a422

Please sign in to comment.