plugin XEP-0277: RuntimeError is now catched during link parsing (can happen if no service jid is found)
This commit is contained in:
parent
52abf00bb4
commit
91aac2ad4f
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue