summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-06-09 11:40:03 -0400
committerKali Kaneko <kali@leap.se>2015-06-09 11:40:03 -0400
commitc097cfd5ef4fd0aef4ed91da3fcdae1e486f84f7 (patch)
tree476b28ee2f9ef0ea4ca16b25529d0aabadc4b4c2 /client
parent289ae33a90d7e2cb8b33c2bcac1676c6ef926773 (diff)
[refactor] use twisted logging facility to log failure
Diffstat (limited to 'client')
-rw-r--r--client/src/leap/soledad/client/encdecpool.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/encdecpool.py b/client/src/leap/soledad/client/encdecpool.py
index 52b29936..eff53e28 100644
--- a/client/src/leap/soledad/client/encdecpool.py
+++ b/client/src/leap/soledad/client/encdecpool.py
@@ -29,6 +29,7 @@ import logging
from twisted.internet import reactor
from twisted.internet import defer
+from twisted.python import log
from leap.soledad.common.document import SoledadDocument
from leap.soledad.common import soledad_assert
@@ -405,7 +406,7 @@ class SyncDecrypterPool(SyncEncryptDecryptPool):
return self._failure
def _set_failure(self, failure):
- failure.printTraceback()
+ log.err(failure)
self._failure = failure
self._finished = True