@mandelcode: Instead of using `logging.error`, you should raise a TweepError. This will allow users of Tweepy to catch the exception, and handle it.