summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/http_target/fetch_protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/leap/soledad/client/http_target/fetch_protocol.py')
-rw-r--r--client/src/leap/soledad/client/http_target/fetch_protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/http_target/fetch_protocol.py b/client/src/leap/soledad/client/http_target/fetch_protocol.py
index 3322ec70..fa6b1969 100644
--- a/client/src/leap/soledad/client/http_target/fetch_protocol.py
+++ b/client/src/leap/soledad/client/http_target/fetch_protocol.py
@@ -136,7 +136,7 @@ class DocStreamReceiver(ReadBodyProtocol):
Checks that ']' came and stream was properly closed.
"""
if not self._properly_finished:
- raise errors.BrokenSyncStream()
+ raise errors.BrokenSyncStream('Stream not properly closed')
content = self._buffer.getvalue()[0:self._buffer.tell()]
self._buffer.close()
return content