Merge pull request #306 from examknow/patch-5
make no entries message more specific
This commit is contained in:
commit
fc651d80e7
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
title, entries = self._get_entries(url)
|
||||
if not entries:
|
||||
raise utils.EventError("Failed to get RSS entries")
|
||||
raise utils.EventError("%s has no entries" % url)
|
||||
|
||||
shorten = event["target"].get_setting("rss-shorten", False)
|
||||
out = self._format_entry(event["server"], event["target"], title, entries[0],
|
||||
|
|
Loading…
Reference in a new issue