diff --git a/crates/fj-window/src/event_loop_handler.rs b/crates/fj-window/src/event_loop_handler.rs index 6190461f5..c737b3cf6 100644 --- a/crates/fj-window/src/event_loop_handler.rs +++ b/crates/fj-window/src/event_loop_handler.rs @@ -180,16 +180,8 @@ impl EventLoopHandler { if let Some(model_path) = new_model_path { let model = Model::new(model_path, Parameters::empty()).unwrap(); - match Host::from_model(model) { - Ok(new_host) => { - self.host = Some(new_host); - } - Err(err) => { - self.status.update_status(&format!( - "Error creating host: {err}" - )); - } - } + let new_host = Host::from_model(model)?; + self.host = Some(new_host); } } _ => {}