Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 25, 2022
1 parent d6ae573 commit 91c88d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/fj-window/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
));
}
}
}
Expand Down

0 comments on commit 91c88d1

Please sign in to comment.