From 308faa092e5701ca9a3bac709e735089fd422a50 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 27 Jan 2021 22:08:39 -0600 Subject: [PATCH] Improve error log message in Stream.on_data --- tweepy/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 69c370b..00cb745 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -262,7 +262,7 @@ class Stream: if "warning" in data: return self.on_warning(data["warning"]) - log.error("Unknown message type: %s", raw_data) + log.error("Received unknown message type: %s", raw_data) def on_status(self, status): """This is called when a status is received.""" -- 2.25.1