twitter-to-sqlite
twitter-to-sqlite copied to clipboard
Use raise_for_status() everywhere
I keep seeing errors which I think are caused by authentication or rate limit problems but which appear to be unexpected JSON responses - presumably because they are actually an error message.
Recent example: https://github.com/simonw/jsk-fellows-on-twitter/runs/598892575
Using response.raise_for_status()
everywhere will make these errors less confusing.