Todoist migration: don't panic if no reminder was found for task
See #897
This commit is contained in:
parent
7408380560
commit
37718c3282
1 changed files with 1 additions and 0 deletions
|
@ -418,6 +418,7 @@ func convertTodoistToVikunja(sync *sync) (fullVikunjaHierachie []*models.Namespa
|
||||||
|
|
||||||
if _, exists := tasks[r.ItemID]; !exists {
|
if _, exists := tasks[r.ItemID]; !exists {
|
||||||
log.Debugf("Could not find task %d for reminder %d while trying to resolve reminders", r.ItemID, r.ID)
|
log.Debugf("Could not find task %d for reminder %d while trying to resolve reminders", r.ItemID, r.ID)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
date, err := parseDate(r.Due.Date)
|
date, err := parseDate(r.Due.Date)
|
||||||
|
|
Loading…
Reference in a new issue