don't let RSS shortening failure CRITICAL the whole bot
This commit is contained in:
parent
160fab8f4f
commit
9abc668c0a
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
link = entry.get("link", None)
|
link = entry.get("link", None)
|
||||||
if shorten:
|
if shorten:
|
||||||
link = self.exports.get_one("shorturl")(server, link)
|
try:
|
||||||
|
link = self.exports.get_one("shorturl")(server, link)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
link = " - %s" % link if link else ""
|
link = " - %s" % link if link else ""
|
||||||
|
|
||||||
feed_title_str = "%s: " % feed_title if feed_title else ""
|
feed_title_str = "%s: " % feed_title if feed_title else ""
|
||||||
|
|
Loading…
Reference in a new issue