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:
parent
d24bd7609c
commit
dab0c9ef7c
@ -274,6 +274,8 @@ impl Collection {
|
||||
// nothing to do
|
||||
return Ok(());
|
||||
}
|
||||
} else {
|
||||
return Err(AnkiError::NotFound);
|
||||
}
|
||||
|
||||
self.transact(None, |col| {
|
||||
|
Loading…
Reference in New Issue
Block a user