mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-21 23:01:26 +02:00
refactor: better logs
This commit is contained in:
1 parent
2604994507
commit
bf625fac2c
91 files changed
+4353
-3239
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user