Skip to content

Commit

Permalink
feat: Make user comparison log lines less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
tlater-famedly committed Feb 13, 2025
1 parent a77f808 commit 6704923
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ async fn sync_users(config: &Config, sync_users: &mut VecDeque<User>) -> Result<
let mut zitadel_user = get_next_zitadel_user(&mut stream, &mut zitadel).await?;

loop {
tracing::debug!("Comparing users {:?} and {:?}", source_user, zitadel_user);
tracing::debug!(
"Comparing users {:?} and {:?}",
source_user.as_ref().map(|user| user.external_user_id.clone()),
zitadel_user.as_ref().map(|user| user.0.external_user_id.clone())
);

match (source_user.clone(), zitadel_user.clone()) {
(None, None) => {
Expand Down

0 comments on commit 6704923

Please sign in to comment.