From 0c861e8ccdd3fa3a45c505f68b03b2d566f46818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Bezerra?= Date: Fri, 26 Jul 2024 00:36:39 -0300 Subject: [PATCH] enha: improve panic error message --- src/eth/storage/rocks/cf_versions.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eth/storage/rocks/cf_versions.rs b/src/eth/storage/rocks/cf_versions.rs index 7cee15005..7e6fa3ff3 100644 --- a/src/eth/storage/rocks/cf_versions.rs +++ b/src/eth/storage/rocks/cf_versions.rs @@ -152,7 +152,8 @@ mod tests { if found.is_none() { panic!( - "TestRunDropBombChecker panic on drop: : missing certificate for variant {} of {}", + "TestRunDropBombChecker panic on drop: cf {}: missing certificate for variant {} of {}", + self.name, variant, type_basename::() );