diff --git a/zebra-state/src/error.rs b/zebra-state/src/error.rs index edb651a26..39039e5a0 100644 --- a/zebra-state/src/error.rs +++ b/zebra-state/src/error.rs @@ -43,7 +43,7 @@ pub type BoxError = Box; /// An error describing the reason a block could not be committed to the state. #[derive(Debug, Error, PartialEq, Eq)] -#[error("block is not contextually valid")] +#[error("block is not contextually valid: {}", .0)] pub struct CommitBlockError(#[from] ValidateContextError); /// An error describing why a block failed contextual validation.