fix some bugs

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-04-07 14:43:25 -07:00
parent ec3f6d5e3c
commit 4777ea8e64
3 changed files with 3 additions and 3 deletions

View File

@ -722,7 +722,7 @@ impl ExecutorContext {
exec_state: &mut ExecState,
preserve_mem: bool,
) -> Result<(EnvironmentRef, Option<ModelingSessionData>), KclErrorWithOutputs> {
self.prepare_mem(exec_state).await.unwrap();
self.prepare_mem(exec_state).await?;
let mut universe = std::collections::HashMap::new();