From 09c61642492210fa25b7cb5e9a57c5cb47cef968 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 24 Jan 2021 07:49:29 -0600 Subject: [PATCH] Stop disconnecting by default in Stream.on_request_error --- tweepy/streaming.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index ce9af95..14af2ce 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -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. -- 2.25.1