From 220e322589601c18cbcb2b06f3b0c77bbd3bf681 Mon Sep 17 00:00:00 2001 From: Kali Kaneko 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