Don't fail on not being able to show image
This commit was merged in pull request #31.
This commit is contained in:
@@ -66,7 +66,9 @@ async fn main() -> anyhow::Result<()> {
|
||||
})
|
||||
.await?;
|
||||
|
||||
show_grzegorz_image(mpv.clone()).await?;
|
||||
if let Err(e) = show_grzegorz_image(mpv.clone()).await {
|
||||
log::warn!("Could not show Grzegorz image: {}", e);
|
||||
}
|
||||
|
||||
let addr = SocketAddr::new(resolve(&args.host).await?, args.port);
|
||||
log::info!("Starting API on {}", addr);
|
||||
|
||||
Reference in New Issue
Block a user