Improve error log message in Stream.on_data
authorHarmon <Harmon758@gmail.com>
Thu, 28 Jan 2021 04:08:39 +0000 (22:08 -0600)
committerHarmon <Harmon758@gmail.com>
Thu, 28 Jan 2021 04:08:39 +0000 (22:08 -0600)
tweepy/streaming.py

index 69c370bf7b60c2f8ad2ed351f76e3eec1c42c9cd..00cb745085bc52052654add6569168ddfa26bbeb 100644 (file)
@@ -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."""