From: Harmon Date: Sun, 24 Jan 2021 13:45:03 +0000 (-0600) Subject: Log by default in Stream.on_closed X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eac7400a1d2043f476a1a0da79d63df63f1b658f;p=tweepy.git Log by default in Stream.on_closed --- 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.