From 37718c3282fad233a2fcc131423bfb6cf98718bc Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 24 Jun 2021 23:02:28 +0200 Subject: [PATCH] Todoist migration: don't panic if no reminder was found for task See #897 --- pkg/modules/migration/todoist/todoist.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/modules/migration/todoist/todoist.go b/pkg/modules/migration/todoist/todoist.go index ff7d4cf588..0de2acf933 100644 --- a/pkg/modules/migration/todoist/todoist.go +++ b/pkg/modules/migration/todoist/todoist.go @@ -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)