Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(gmail): turn down gmail auth log from error to debug (#3880)

Will Hutchinson008a6ea90507
diff --git a/rust/cloud-storage/authentication_service/src/api/internal/google_access_token.rs b/rust/cloud-storage/authentication_service/src/api/internal/google_access_token.rs
index 52604022b6..509766bc92 100644
--- a/rust/cloud-storage/authentication_service/src/api/internal/google_access_token.rs
+++ b/rust/cloud-storage/authentication_service/src/api/internal/google_access_token.rs
@@ -76,7 +76,9 @@ async fn get_access_token(
.into_iter()
.find(|l| l.display_name.as_str() == email)
.ok_or_else(|| {
- tracing::error!(
+ // NOTE: this is going to be something we encounter a lot until users reauthenticate
+ // their gmail so I'm downgrading to a debug to not overflow logs
+ tracing::debug!(
"link not found for user id {} and idp id {}",
fusionauth_user_id,
idp_id.as_str()