refactor: better logs

This commit is contained in:
zhom committed 2026-10-10 01:11:04 +04:00
1 parent 2604994507
commit bf625fac2c
91 files changed
+4353 -3239

No files matched your search

+1 -1
View File
@@ -864,7 +864,7 @@ fn profile_exists(profile_id: &str) -> Result<(), String> {
let profiles = crate::profile::manager::ProfileManager::instance()
.list_profiles()
.map_err(|e| {
log::warn!("[agent-console] profiles could not be read: {e}");
log::warn!("Agent console: profile list failed err=\"{e}\"");
crate::backend_error("INTERNAL_ERROR")
})?;
if profiles.iter().any(|p| p.id.to_string() == profile_id) {