diff --git a/accounts-db/src/hardened_unpack.rs b/accounts-db/src/hardened_unpack.rs index 39eca4f9cdf3d9..552b7a33ea19bd 100644 --- a/accounts-db/src/hardened_unpack.rs +++ b/accounts-db/src/hardened_unpack.rs @@ -335,7 +335,13 @@ pub fn streaming_unpack_snapshot( |_, _| {}, |entry_path_buf| { if entry_path_buf.is_file() { - sender.send(entry_path_buf).unwrap(); + let result = sender.send(entry_path_buf); + if let Err(err) = result { + panic!( + "failed to send path '{}' from unpacker to rebuilder: {err}", + err.0.display(), + ); + } } }, )