Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(auth): use tracing::warn for org fetch failure

ManthanNimodiya9718ab5b48bf
diff --git a/apps/desktop/src-tauri/src/auth.rs b/apps/desktop/src-tauri/src/auth.rs
index d1b2ba867..e179609f5 100644
--- a/apps/desktop/src-tauri/src/auth.rs
+++ b/apps/desktop/src-tauri/src/auth.rs
@@ -106,7 +106,7 @@ impl AuthStore {
auth.organizations_updated_at = Some(chrono::Utc::now().timestamp() as i32);
}
Err(e) => {
- println!("Failed to fetch organizations: {e}");
+ tracing::warn!("Failed to fetch organizations: {e}");
}
}