diff options
Diffstat (limited to 'src/common/stanza_session.py')
-rw-r--r-- | src/common/stanza_session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/stanza_session.py b/src/common/stanza_session.py index 8f7cd1a16..d334ac1e5 100644 --- a/src/common/stanza_session.py +++ b/src/common/stanza_session.py @@ -339,7 +339,7 @@ class EncryptedStanzaSession(StanzaSession): try: parsed = xmpp.Node(node='<node>' + plaintext + '</node>') - except: + except Exception: raise exceptions.DecryptionError, 'decrypted <data/> not parseable as XML' for child in parsed.getChildren(): |