mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Handling twitter user not found error.
This commit is contained in:
parent
03ff9cf77a
commit
982d1c9589
1 changed files with 5 additions and 1 deletions
|
@ -379,8 +379,12 @@ class FetchFeed:
|
|||
logging.debug(u' ***> [%-30s] ~FRTwitter timeline failed, disconnecting twitter: %s: %s' %
|
||||
(self.feed.title[:30], address, e))
|
||||
social_services.disconnect_twitter()
|
||||
elif 'User not found' in e.args[0]:
|
||||
logging.debug(u' ***> [%-30s] ~FRTwitter user not found, disconnecting twitter: %s: %s' %
|
||||
(self.feed.title[:30], address, e))
|
||||
social_services.disconnect_twitter()
|
||||
else:
|
||||
raise
|
||||
raise e
|
||||
|
||||
|
||||
data = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue