Update migration state after locally aborted manga search

In case the search was aborted due to already having found a match, the state was not updated.
Thus, only if the main migration was aborted and not just the "local" manga search, should it exit early on an error.
This commit is contained in:
schroda
2026-04-23 19:00:51 +02:00
parent 3eb34312ad
commit 6933ee7a7a

View File

@@ -829,7 +829,7 @@ export class MigrationManager {
draft.searchProgress.completed += 1;
});
} catch (error) {
if (signal.aborted) {
if (mainSignal.aborted) {
return;
}