From eac7400a1d2043f476a1a0da79d63df63f1b658f Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 24 Jan 2021 07:45:03 -0600 Subject: [PATCH] Log by default in Stream.on_closed --- tweepy/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 3573001..ce9af95 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -186,7 +186,7 @@ class Stream: def on_closed(self, resp): """ Called when the response has been closed by Twitter """ - pass + log.error("Stream connection closed by Twitter") def on_connect(self): """Called once connected to streaming server. -- 2.25.1