plugin groupblog: fixes return value of getLastGroupBlogsAtom when an error occured
This commit is contained in:
parent
4b53275a9a
commit
2a0857fe4f
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +612,7 @@ class GroupBlog(object):
|
|||
d = self.host.plugins["XEP-0060"].getItems(client.item_access_pubsub, self.getNodeName(pub_jid),
|
||||
max_items=max_items, profile_key=profile_key)
|
||||
d.addCallback(items2feed, pub_jid, client)
|
||||
d.addErrback(lambda ignore: {}) # TODO: more complete error management (log !)
|
||||
d.addErrback(lambda ignore: '') # TODO: more complete error management (log !)
|
||||
return d
|
||||
|
||||
#TODO: we need to use the server corresponding the the host of the jid
|
||||
|
|
|
|||
Loading…
Reference in a new issue