From c097cfd5ef4fd0aef4ed91da3fcdae1e486f84f7 Mon Sep 17 00:00:00 2001
From: Kali Kaneko <kali@leap.se>
Date: Tue, 9 Jun 2015 11:40:03 -0400
Subject: [refactor] use twisted logging facility to log failure

---
 client/src/leap/soledad/client/encdecpool.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'client/src/leap')

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
 
-- 
cgit v1.2.3