forked from joel-wright/DDRPi
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
When tweeting the status of the dance floor the calls to the Tweepy API are not contained within any try/except blocks, so any errors stop the program.
This is most evident when we tweet our status, and Twitter thinks that it is a duplicate status, so chooses not to allow it - and throws an exception.
e.g.
Tweet from @LED_Dance_Floor
Not replying to ourselves
2016-03-23 13:40:19,845 - __main__:578 - INFO - An error occurred loading plugins from fireworks.py
2016-03-23 13:40:19,846 - __main__:579 - INFO - [{u'message': u'Status is a duplicate.', u'code': 187}]
2016-03-23 13:40:19,846 - __main__:580 - INFO - (<class 'tweepy.error.TweepError'>, TweepError([{u'message': u'Status is a duplicate.', u'code': 187}],), <traceback object at 0x7f600a277710>)
Reactions are currently unavailable