Fix the point where an error is thrown

This commit is contained in:
Vishnu Mohandas 2021-02-26 13:30:21 +05:30
parent 7a778abaea
commit 009d9957bf

View file

@ -108,8 +108,8 @@ class SyncService {
} else {
Bus.instance.fire(
SyncStatusUpdate(SyncStatus.error, reason: "backup failed"));
throw e;
}
throw e;
} finally {
_isSyncInProgress = false;
}