summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-06-14 11:35:01 -0300
committerIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-06-14 11:35:01 -0300
commit733343465354e52e33dfe14aca54ebb7b786f5dd (patch)
tree2dbefae8067c72506973b4972353f8fc599b4d47
parentcdd6b97b1625734b132403edae6ca35689ed7849 (diff)
parent1b670d268ee26fc06115702aff055884327f85ed (diff)
Merge remote-tracking branch 'chiiph/bug/improve_error_msgs' into develop
-rw-r--r--src/leap/crypto/srpauth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py
index bcd24de3..d089fa50 100644
--- a/src/leap/crypto/srpauth.py
+++ b/src/leap/crypto/srpauth.py
@@ -459,7 +459,8 @@ class SRPAuth(QtCore.QObject):
:type failure: twisted.python.failure.Failure
"""
logger.error("Error logging in %s" % (failure,))
- self.authentication_finished.emit(False, "%s" % (failure,))
+ self.authentication_finished.emit(False, "%s" % (failure.value,))
+ failure.trap(Exception)
def get_session_id(self):
return self.__instance.get_session_id()