diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/leap/soledad/client/http_target.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/http_target.py b/client/src/leap/soledad/client/http_target.py index f7f50af6..f5d8ef1c 100644 --- a/client/src/leap/soledad/client/http_target.py +++ b/client/src/leap/soledad/client/http_target.py @@ -534,7 +534,7 @@ class SoledadHTTPSyncTarget(SyncTarget): new_generation = metadata['new_generation'] new_transaction_id = metadata['new_transaction_id'] number_of_changes = metadata['number_of_changes'] - except (json.JSONDecodeError, KeyError): + except (ValueError, KeyError): raise errors.BrokenSyncStream # make sure we have replica_uid from fresh new dbs if self._ensure_callback and 'replica_uid' in metadata: |