From b915aaea1335bac74d05577edd549288e39e7014 Mon Sep 17 00:00:00 2001 From: Alan Hanson Date: Mon, 20 Jul 2026 18:58:01 +0000 Subject: [PATCH 1/2] Add extent file name to error output --- common/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/lib.rs b/common/src/lib.rs index 9aa5f8edc..0b3d11b26 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -145,7 +145,7 @@ pub enum CrucibleError { #[error("Invalid downstairs replace {0}")] ReplaceRequestInvalid(String), - #[error("missing context slot for block {block} in extent {extent}")] + #[error("missing context slot for block {block} in extent {extent} ({extent:03X})")] MissingContextSlot { block: u64, extent: u32 }, #[error("metadata deserialization failed: {0}")] From 3ecc16dae322dc64f81e40811af0ed148a9fbca0 Mon Sep 17 00:00:00 2001 From: Alan Hanson Date: Mon, 20 Jul 2026 19:05:26 +0000 Subject: [PATCH 2/2] cargo fmt --- common/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/lib.rs b/common/src/lib.rs index 0b3d11b26..54435c579 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -145,7 +145,9 @@ pub enum CrucibleError { #[error("Invalid downstairs replace {0}")] ReplaceRequestInvalid(String), - #[error("missing context slot for block {block} in extent {extent} ({extent:03X})")] + #[error( + "missing context slot for block {block} in extent {extent} ({extent:03X})" + )] MissingContextSlot { block: u64, extent: u32 }, #[error("metadata deserialization failed: {0}")]