Open hdevalence opened 4 years ago
The next time this happens, would it be possible to capture a backtrace? I'm wondering what's trying to slice the text (and also where the index 140 is coming from, since none of the entities i'm seeing from Twitter lie on that index), since it doesn't seem like the streaming code is doing anything special above "try the Tweet deserializer". Unless the streaming API is giving different data from the REST API, this is just a confusing situation.
While using the streaming API I occasionally get panics like
The tweet is here: https://twitter.com/creativecommons/status/1275116645225299976
I think this is maybe related to the transformation mentioned in #90 (changing between codepoint offsets and byte offsets).