diff options
Diffstat (limited to 'src/update')
-rw-r--r-- | src/update/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/update/mod.rs b/src/update/mod.rs index 0e47321..ce31c7b 100644 --- a/src/update/mod.rs +++ b/src/update/mod.rs @@ -47,6 +47,7 @@ pub async fn update( 2 => 20, // logging.INFO 3.. => 10, // logging.DEBUG }; + info!("Passing log_level {} to the update script", log_level); let mut urls: Vec<String> = vec![]; for (name, sub) in subscriptions.0 { @@ -216,7 +217,7 @@ async fn process_subscription( url, }; - println!("{}", video.to_color_display()); + println!("{}", video.to_color_display(app).await?); add_video(app, video).await?; Ok(()) } |