mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Handling twitter posting error.
This commit is contained in:
parent
3dd7211886
commit
fd76675639
1 changed files with 2 additions and 1 deletions
|
@ -2757,7 +2757,8 @@ class MSocialServices(mongo.Document):
|
|||
api = self.twitter_api()
|
||||
api.update_status(status=message)
|
||||
except tweepy.TweepError, e:
|
||||
print e
|
||||
user = User.objects.get(pk=self.user_id)
|
||||
logging.user(user, "~FRTwitter error: ~SB%s" % e)
|
||||
return
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue