Don't throw an error if account is not configured
This commit is contained in:
parent
2759399ff3
commit
d466e120b4
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@ class SyncService {
|
|||
|
||||
Future<void> syncWithRemote({bool silently = false}) async {
|
||||
if (!Configuration.instance.hasConfiguredAccount()) {
|
||||
return Future.error("Account not configured yet");
|
||||
_logger.info("Skipping remote sync since account is not configured");
|
||||
return;
|
||||
}
|
||||
await _collectionsService.sync();
|
||||
final updatedCollections =
|
||||
|
|
Loading…
Add table
Reference in a new issue