Skip to content

Added check for bad data (undefined tweet messages)#47

Open
KDCinfo wants to merge 1 commit intolearncodeacademy:masterfrom
KDCinfo:patch-1
Open

Added check for bad data (undefined tweet messages)#47
KDCinfo wants to merge 1 commit intolearncodeacademy:masterfrom
KDCinfo:patch-1

Conversation

@KDCinfo
Copy link

@KDCinfo KDCinfo commented May 27, 2017

I came across an issue when retrieving the tweets as some of them have no messages. They were throwing errors in the logger and were preventing the entire list from showing. Placing the tweet texts in a string literal helped to strip bad tweet.text inputs as well.

Accounting for bad data -- The tweets that have no messages were throwing errors in the logger and were preventing the entire list from showing. Placing the tweet texts in a string literal also helped to strip bad tweet.text inputs as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant