diff options
author | alkorgun <alkorgun@gmail.com> | 2013-12-16 22:31:45 +0400 |
---|---|---|
committer | alkorgun <alkorgun@gmail.com> | 2013-12-16 22:31:45 +0400 |
commit | 180b1137d5a1b0fe05ca8d5aa99f6e43a25e3777 (patch) | |
tree | c7398892c1e4106d825d7f58550b09e1354445fd /xmpp/auth.py | |
parent | 85e01717e7c9866bbe574fbf5ad89689b6b2fe93 (diff) |
exceptions became more specified; fixed bug with unpacking args of socket.error in transports.py
Diffstat (limited to 'xmpp/auth.py')
-rw-r--r-- | xmpp/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/auth.py b/xmpp/auth.py index 95842f4..ca21835 100644 --- a/xmpp/auth.py +++ b/xmpp/auth.py @@ -207,7 +207,7 @@ class SASL(PlugIn): self.startsasl = "failure" try: reason = challenge.getChildren()[0] - except: + except Exception: reason = challenge self.DEBUG("Failed SASL authentification: %s" % reason, "error") raise NodeProcessed() |