From 4e5bfb1d2335da2226ac787b46ca4db650d4a07e Mon Sep 17 00:00:00 2001 From: Tom <git@tom.al> Date: Thu, 18 Aug 2022 21:37:57 +0200 Subject: [PATCH] Less viaplay more schedule --- src/commands/schedule.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/schedule.rs b/src/commands/schedule.rs index ce5da4c..b0ee5bf 100644 --- a/src/commands/schedule.rs +++ b/src/commands/schedule.rs @@ -108,11 +108,11 @@ async fn get_schedule() -> Option<MSReq> { let result: Option<MSReq> = match req { Err(e) => { - warn!("Error getting Viaplay schedule {}", e); + warn!("Error getting normal schedule {}", e); None } Ok(req) if req.status().as_u16() == 404 => { - warn!("404 on getting VP events"); + warn!("404 on getting schedule"); None } Ok(req) if req.status().as_u16() == 200 => { @@ -120,14 +120,14 @@ async fn get_schedule() -> Option<MSReq> { match data { Ok(d) => Some(d), Err(e) => { - warn!("Error getting Viaplay schedule {}", e); + warn!("Error getting normal schedule {}", e); None } } } Ok(req) => { warn!( - "Unhandled status when parsing viaplay request {}", + "Unhandled status when parsing schedule request {}", req.status() ); None