don't print json on error
Sometimes we get a non-200 status code with content that isn't json.
Instead of printing r.json()
- just print r.content
r.content
should always be present.
Sometimes we get a non-200 status code with content that isn't json.
Instead of printing r.json()
- just print r.content
r.content
should always be present.