twitter-to-sqlite icon indicating copy to clipboard operation
twitter-to-sqlite copied to clipboard

Use raise_for_status() everywhere

Open simonw opened this issue 4 years ago • 1 comments

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.

simonw avatar Apr 19 '20 04:04 simonw

44714E00-8CC5-46CD-9E48-1F4DD148FCC8

simonw avatar Apr 19 '20 04:04 simonw