Merge branch 'dob-log' into 'main'

Add some logs when encountering a DateTimeOrTextProperty

See merge request kernald/immich-tools!26
This commit is contained in:
Marc Plano-Lesay 2024-12-03 05:34:20 +00:00
commit 998bfce68f

View file

@ -76,7 +76,9 @@ pub async fn sync_date_of_birth(ctx: Context, vcard_file: &PathBuf) -> Result<()
); );
} }
} }
DateTimeOrTextProperty::Text(_) => todo!(), DateTimeOrTextProperty::Text(prop) => {
todo!("{}: DateTimeOrTextProperty({})", formatted_name, prop)
}
}, },
None => debug!("No Immich match for {}", formatted_name), None => debug!("No Immich match for {}", formatted_name),
} }