Don't fail on not being able to show image
This commit is contained in:
parent
91ab1ad771
commit
c15feac958
|
@ -66,7 +66,9 @@ async fn main() -> anyhow::Result<()> {
|
||||||
})
|
})
|
||||||
.await?;
|
.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);
|
let addr = SocketAddr::new(resolve(&args.host).await?, args.port);
|
||||||
log::info!("Starting API on {}", addr);
|
log::info!("Starting API on {}", addr);
|
||||||
|
|
Loading…
Reference in New Issue