excepted TweepError that was raised without an explanation further than 503
This commit is contained in:
parent
9305a32eb7
commit
37b2706a3b
|
@ -126,6 +126,8 @@ class RetweetBot(object):
|
|||
except requests.exceptions.ConnectionError:
|
||||
logger.error("Twitter API Error: Bad Connection", exc_info=True)
|
||||
self.waitcounter += 10
|
||||
except tweepy.TweepError:
|
||||
logger.error("Twitter API Error: General Error", exc_info=True)
|
||||
return []
|
||||
|
||||
def repost(self, status):
|
||||
|
|
Loading…
Reference in a new issue