[minor] Logs
This commit is contained in:
parent
9f7c2805ca
commit
b360e52144
2 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ where
|
||||||
C: CompleteCalendar,
|
C: CompleteCalendar,
|
||||||
{
|
{
|
||||||
for (id, cal) in cals {
|
for (id, cal) in cals {
|
||||||
println!("CAL {}", id);
|
println!("CAL {} ({})", cal.lock().unwrap().name(), id);
|
||||||
match cal.lock().unwrap().get_items().await {
|
match cal.lock().unwrap().get_items().await {
|
||||||
Err(_err) => continue,
|
Err(_err) => continue,
|
||||||
Ok(map) => {
|
Ok(map) => {
|
||||||
|
@ -85,7 +85,7 @@ where
|
||||||
C: DavCalendar,
|
C: DavCalendar,
|
||||||
{
|
{
|
||||||
for (id, cal) in cals {
|
for (id, cal) in cals {
|
||||||
println!("CAL {}", id);
|
println!("CAL {} ({})", cal.lock().unwrap().name(), id);
|
||||||
match cal.lock().unwrap().get_item_version_tags().await {
|
match cal.lock().unwrap().get_item_version_tags().await {
|
||||||
Err(_err) => continue,
|
Err(_err) => continue,
|
||||||
Ok(map) => {
|
Ok(map) => {
|
||||||
|
|
|
@ -639,7 +639,7 @@ async fn get_or_insert_calendar(source: &mut Cache, id: &CalendarId)
|
||||||
match source.get_calendar(id).await {
|
match source.get_calendar(id).await {
|
||||||
Some(cal) => Ok(cal),
|
Some(cal) => Ok(cal),
|
||||||
None => {
|
None => {
|
||||||
let new_name = format!("Calendar for ID {}", id);
|
let new_name = format!("Test calendar for ID {}", id);
|
||||||
let supported_components = SupportedComponents::TODO;
|
let supported_components = SupportedComponents::TODO;
|
||||||
|
|
||||||
source.create_calendar(
|
source.create_calendar(
|
||||||
|
|
Loading…
Add table
Reference in a new issue