Panics · P01 Primitives: init returns an error, a missing app icon logs and shows a broken picture
This commit is contained in:
1 parent
52d3d790b1
commit
e5166e9e26
20 files changed
+159
-87
No files matched your search
@@ -106,7 +106,10 @@ pub fn start() {
|
||||
if let Some(choice) = EARLY.take() {
|
||||
start.choice = choice;
|
||||
}
|
||||
let window = launch(start, cx);
|
||||
let window = match launch(start, cx) {
|
||||
Ok(window) => window,
|
||||
Err(error) => return log::error!("gallery: {error:#}"),
|
||||
};
|
||||
HOST.with(|host| *host.borrow_mut() = Some((cx.to_async(), window)));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user