catch attempt to update missing note

https://forums.ankiweb.net/t/bug-report-editor-updating-non-existing-card/2117/4?u=dae
This commit is contained in:
Damien Elmes 2020-08-17 19:44:27 +10:00
parent d24bd7609c
commit dab0c9ef7c

View File

@ -274,6 +274,8 @@ impl Collection {
// nothing to do
return Ok(());
}
} else {
return Err(AnkiError::NotFound);
}
self.transact(None, |col| {