From 37b2706a3b18490810c72e3244e72598f8beb140 Mon Sep 17 00:00:00 2001 From: b3yond Date: Thu, 18 Jan 2018 21:48:36 +0100 Subject: [PATCH] excepted TweepError that was raised without an explanation further than 503 --- retweetbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retweetbot.py b/retweetbot.py index 88fd2fb..e196ca6 100755 --- a/retweetbot.py +++ b/retweetbot.py @@ -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):