From 91c88d177057ab1f7b2c6530df1bfad8ef520dde Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 21 Nov 2022 16:05:47 +0100 Subject: [PATCH] Improve error message --- crates/fj-window/src/run.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/fj-window/src/run.rs b/crates/fj-window/src/run.rs index 933f3b346..cf1dce713 100644 --- a/crates/fj-window/src/run.rs +++ b/crates/fj-window/src/run.rs @@ -209,8 +209,10 @@ pub fn run( Ok(new_host) => { host = Some(new_host); } - Err(_) => { - status.update_status("Error creating host."); + Err(err) => { + status.update_status(&format!( + "Error creating host: {err}" + )); } } }