Todoist migration: don't panic if no reminder was found for task

See #897
This commit is contained in:
kolaente 2021-06-24 23:02:28 +02:00
parent 7408380560
commit 37718c3282
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -418,6 +418,7 @@ func convertTodoistToVikunja(sync *sync) (fullVikunjaHierachie []*models.Namespa
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)
continue
}
date, err := parseDate(r.Due.Date)