app-server: avoid expect in thread resume test

This commit is contained in:
Max Johnson
2026-02-13 09:49:13 -08:00
parent 69e29f1440
commit ae9cf6339b

View File

@@ -861,7 +861,9 @@ async fn start_materialized_thread_and_restart(
.await??;
let thread_id = thread.id;
let rollout_file_path = thread.path.expect("thread path");
let rollout_file_path = thread
.path
.ok_or_else(|| anyhow::anyhow!("thread path missing from thread/start response"))?;
drop(first_mcp);