[12.10.20] Testing

This commit is contained in:
andrewso 2020-10-12 15:34:07 +01:00
parent 060695c809
commit b7bdeb22f9

View File

@ -69,8 +69,10 @@ class Streamer():
stream = Stream(auth=api.auth, listener=listener, tweet_mode='extended')
stream.filter(languages=["en"], track=hashtag)
except IncompleteRead:
log("Incomplete Read Error", 'ERR')
continue
except ProtocolError:
log("Protocol Error", 'ERR')
continue
class Listener(StreamListener):