mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
return false on error when checking if local backup already exists
This commit is contained in:
@@ -69,13 +69,17 @@ public class DistributedBackupActivity extends BriarActivity implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void thresholdDefined(int threshold) throws DbException {
|
public void thresholdDefined(int threshold) {
|
||||||
db.transaction(false, txn -> {
|
try {
|
||||||
socialBackupManager
|
db.transaction(false, txn -> {
|
||||||
.createBackup(txn, (List<ContactId>) custodians, threshold);
|
socialBackupManager
|
||||||
ShardsSentFragment fragment = new ShardsSentFragment();
|
.createBackup(txn, (List<ContactId>) custodians, threshold);
|
||||||
showNextFragment(fragment);
|
ShardsSentFragment fragment = new ShardsSentFragment();
|
||||||
});
|
showNextFragment(fragment);
|
||||||
|
});
|
||||||
|
} catch (DbException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user