diff --git a/rust/crates/runtime/src/session.rs b/rust/crates/runtime/src/session.rs index f08face..e26b910 100644 --- a/rust/crates/runtime/src/session.rs +++ b/rust/crates/runtime/src/session.rs @@ -168,8 +168,7 @@ impl Session { { Self::from_json(&value)? } - Err(_) => Self::from_jsonl(&contents)?, - Ok(_) => Self::from_jsonl(&contents)?, + Err(_) | Ok(_) => Self::from_jsonl(&contents)?, }; Ok(session.with_persistence_path(path.to_path_buf())) }