We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a179438 commit 4274628Copy full SHA for 4274628
src/test_case.rs
@@ -81,7 +81,7 @@ impl<T: TestCase> TestCaseRunner<T> {
81
82
let f = framework
83
.as_mut()
84
- .expect("Framework not correctly initialized");
+ .with_context(|| format!("Framework not correctly initialized, result {result:?}"))?;
85
86
if let Err(_) | Ok(Err(_)) = result {
87
if let Err(e) = f.dump_log() {
0 commit comments