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-15 14:24:20 -0400
commit220e322589601c18cbcb2b06f3b0c77bbd3bf681 (patch)
treeaf46707a9e2bedeff2469c531931bb1f09d56021 /client
parentff466668100ec75832ec404b74279402fe6b9b2f (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