mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Catch an exception that wasn't being caught.
This commit is contained in:
parent
bb4890c067
commit
15f47f5ea9
@ -110,7 +110,11 @@ class RSS(callbacks.Privmsg):
|
||||
self.gettingLockLock = threading.Lock()
|
||||
for name in self.registryValue('feeds'):
|
||||
self._registerFeed(name)
|
||||
url = self.registryValue('feeds.%s' % name)
|
||||
try:
|
||||
url = self.registryValue('feeds.%s' % name)
|
||||
except registry.NonExistentRegistryEntry:
|
||||
self.log.warning('%s is not a registered feed, removing.',name)
|
||||
continue
|
||||
self.makeFeedCommand(name, url)
|
||||
self.getFeed(url) # So announced feeds don't announce on startup.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user