diff --git a/rslib/src/storage/deck/mod.rs b/rslib/src/storage/deck/mod.rs index f0e0c5045..aaf19ad69 100644 --- a/rslib/src/storage/deck/mod.rs +++ b/rslib/src/storage/deck/mod.rs @@ -202,6 +202,9 @@ impl SqliteStorage { if let Some(parent_did) = self.get_deck_id(parent_name)? { let parent = self.get_deck(parent_did)?.unwrap(); decks.push(parent); + } else { + // missing parent + break; } }