From 81a4930de791e2f9fff12ffeb5a4c62ca5893e29 Mon Sep 17 00:00:00 2001 From: zfeixiang Date: Tue, 26 Nov 2024 10:03:57 +0800 Subject: [PATCH] log error while loading existing profile Signed-off-by: zfeixiang --- services/key_enable/src/profile_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/key_enable/src/profile_utils.rs b/services/key_enable/src/profile_utils.rs index 2053d46..711c0c3 100644 --- a/services/key_enable/src/profile_utils.rs +++ b/services/key_enable/src/profile_utils.rs @@ -325,7 +325,7 @@ fn process_profile( for path in profiles_paths { let mut pkcs7_data = Vec::new(); if load_bytes_from_file(&path, &mut pkcs7_data).is_err() { - info!(LOG_LABEL, "load profile failed {}!", @public(path)); + error!(LOG_LABEL, "load profile failed {}!", @public(path)); continue; } info!(LOG_LABEL, "load profile success {}!", @public(path)); -- Gitee