From 803af552467529f4b5706aba224ff49a3663afa0 Mon Sep 17 00:00:00 2001 From: lbl8603 <49143209+lbl8603@users.noreply.github.com> Date: Wed, 7 Aug 2024 22:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/config/file_config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/config/file_config.rs b/common/src/config/file_config.rs index 97c72a5..847dc8c 100644 --- a/common/src/config/file_config.rs +++ b/common/src/config/file_config.rs @@ -104,8 +104,8 @@ pub fn read_config(file_path: &str) -> anyhow::Result<(Config, Vec, bool let file_conf = match serde_yaml::from_str::(&conf) { Ok(val) => val, Err(e) => { - log::error!("{:?}", e); - return Err(anyhow!("{}", e)); + log::error!("serde_yaml::from_str {:?}", e); + return Err(anyhow!("serde_yaml::from_str {:?}", e)); } }; if file_conf.token.is_empty() {