plugin XEP-0277: RuntimeError is now catched during link parsing (can happen if no service jid is found)

This commit is contained in:
Goffi 2013-06-20 17:15:21 +02:00
commit 91aac2ad4f

View file

@ -105,7 +105,8 @@ class XEP_0277(object):
microblog_data['comments_service'] = service.full()
microblog_data['comments_node'] = node
break
except (KeyError, exceptions.DataError):
except (KeyError, exceptions.DataError, RuntimeError):
warning("Can't parse link")
continue
except (AttributeError, KeyError):