diff --git a/src/main.rs b/src/main.rs index cec8486..0461f17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,10 @@ mod window_icon; fn main() { env_logger::init(); - let app = app::App::new().unwrap(); - - app.run(); + match app::App::new() { + Ok(app) => app.run(), + Err(err) => { + log::error!("Failed to initialize WgShadertoy: {}", err); + } + } }