diff --git a/src/engine/engine/strategy.rs b/src/engine/engine/strategy.rs index 8f8f074..576dc68 100644 --- a/src/engine/engine/strategy.rs +++ b/src/engine/engine/strategy.rs @@ -33,7 +33,13 @@ impl StrategyEngine { let (strategy, strategy_manifest) = get_manifest( &strategy, &strategy.join("strategy.bash"), - &fs::read(strategy.join("strategy.toml")).await?, + &match fs::read(strategy.join("strategy.toml")).await { + Err(e) if e.kind() == tokio::io::ErrorKind::NotFound => Err(tokio::io::Error::new( + tokio::io::ErrorKind::NotFound, + format!("Unable to find strategy.toml for {strategy:?}: {}", e), + )), + v => v, + }?, )?; Ok(Self {