Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-03-14 21:20:51 +0300
committerlovetox <philipp@hoerist.com>2022-03-14 21:20:51 +0300
commita42c3cd5bfcb2707ae5088ba4606917c40775e83 (patch)
tree116ff22357000debc77a5bd9c5217dc77f8d7bf0
parentd1a86fbfa032e27b6da934e932f6ee9bda022b97 (diff)
Websocket: Don’t fail on invalid host-meta files
-rw-r--r--nbxmpp/addresses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/addresses.py b/nbxmpp/addresses.py
index bc71945..6d2c031 100644
--- a/nbxmpp/addresses.py
+++ b/nbxmpp/addresses.py
@@ -161,7 +161,7 @@ class ServerAddresses(Observable):
try:
uri = parse_websocket_uri(response_body.data)
- except ValueError as error:
+ except Exception as error:
log.info('Error parsing websocket uri: %s', error)
self._on_request_resolved()
return