From 4500643eaf8fde8c3fa3084b5105471b2ead4a14 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 17 Oct 2006 10:50:14 +0000 Subject: [PATCH] catch only invalid format error. see #2574 --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 9e3eb88d7..8fe956774 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -694,7 +694,7 @@ class ConnectionDisco: continue try: helpers.parse_jid(attr['jid']) - except: + except common.helpers.InvalidFormat: # jid is not conform continue items.append(attr)