diff options
author | Kali Kaneko <kali@leap.se> | 2013-05-19 00:06:15 +0900 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-05-19 00:06:15 +0900 |
commit | 24dbc5f63c33b11febb730b1a72e28983a31dc9a (patch) | |
tree | 35119de3a3eb7c9d1ad06a80be5c69660e90ea7b /src/leap/soledad | |
parent | e00df2bae5ab938caf6f9d1de5bad2cb749b876f (diff) |
add warning if no shared db found
Diffstat (limited to 'src/leap/soledad')
-rw-r--r-- | src/leap/soledad/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py index 5bec444e..c70fee91 100644 --- a/src/leap/soledad/__init__.py +++ b/src/leap/soledad/__init__.py @@ -546,6 +546,7 @@ class Soledad(object): events.events_pb2.SOLEDAD_DOWNLOADING_KEYS, self._uuid) db = self._shared_db() if not db: + logger.warning('No shared db found') return doc = db.get_doc(self._uuid_hash()) events.signal( @@ -579,6 +580,7 @@ class Soledad(object): events.events_pb2.SOLEDAD_UPLOADING_KEYS, self._uuid) db = self._shared_db() if not db: + logger.warning('No shared db found') return db.put_doc(doc) events.signal( |