Stop disconnecting by default in Stream.on_request_error
authorHarmon <Harmon758@gmail.com>
Sun, 24 Jan 2021 13:49:29 +0000 (07:49 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 24 Jan 2021 13:49:29 +0000 (07:49 -0600)
tweepy/streaming.py

index ce9af9593907a4344e576d12d1d29256d546b015..14af2ce0b04716a7ba4e031326a95c33713159b1 100644 (file)
@@ -211,7 +211,6 @@ class Stream:
     def on_request_error(self, status_code):
         """Called when a non-200 status code is returned"""
         log.error("Stream encountered HTTP error: %d", status_code)
-        return False
 
     def on_data(self, raw_data):
         """Called when raw data is received from connection.