From 7ec4e0d5e570968a9727caa20e8a06708b605bde Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Wed, 7 Sep 2022 11:48:18 +0200 Subject: [PATCH] remove error log in favor of debug log --- ffplayout-api/src/utils/control.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ffplayout-api/src/utils/control.rs b/ffplayout-api/src/utils/control.rs index 8f5b0539..692d43aa 100644 --- a/ffplayout-api/src/utils/control.rs +++ b/ffplayout-api/src/utils/control.rs @@ -5,7 +5,6 @@ use reqwest::{ Client, Response, }; use serde::{Deserialize, Serialize}; -use simplelog::*; use crate::utils::{errors::ServiceError, handles::db_get_channel, playout_config}; use ffplayout_lib::vec_strings; @@ -146,10 +145,7 @@ where .await { Ok(result) => Ok(result), - Err(e) => { - error!("{e:?}"); - Err(ServiceError::ServiceUnavailable(e.to_string())) - } + Err(e) => Err(ServiceError::ServiceUnavailable(e.to_string())), } }