More Results in the trait

This commit is contained in:
daladim 2021-03-21 19:58:37 +01:00
parent 9a2a61a17b
commit a8ccdef0bb
6 changed files with 24 additions and 19 deletions

View file

@ -64,8 +64,13 @@ where
{
for (id, cal) in cals {
println!("CAL {}", id);
for (_, item) in cal.lock().unwrap().get_items().await {
print_task(item);
match cal.lock().unwrap().get_items().await {
Err(_err) => continue,
Ok(map) => {
for (_, item) in map {
print_task(item);
}
},
}
}
}