[minor] Logs

This commit is contained in:
daladim 2021-04-05 23:01:44 +02:00
parent 9f7c2805ca
commit b360e52144
2 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ where
C: CompleteCalendar,
{
for (id, cal) in cals {
println!("CAL {}", id);
println!("CAL {} ({})", cal.lock().unwrap().name(), id);
match cal.lock().unwrap().get_items().await {
Err(_err) => continue,
Ok(map) => {
@ -85,7 +85,7 @@ where
C: DavCalendar,
{
for (id, cal) in cals {
println!("CAL {}", id);
println!("CAL {} ({})", cal.lock().unwrap().name(), id);
match cal.lock().unwrap().get_item_version_tags().await {
Err(_err) => continue,
Ok(map) => {

View file

@ -639,7 +639,7 @@ async fn get_or_insert_calendar(source: &mut Cache, id: &CalendarId)
match source.get_calendar(id).await {
Some(cal) => Ok(cal),
None => {
let new_name = format!("Calendar for ID {}", id);
let new_name = format!("Test calendar for ID {}", id);
let supported_components = SupportedComponents::TODO;
source.create_calendar(