I was getting DataReadErrors like these in the logs, with no way to get the info from the library about the ratelimit headers once the exception is raised
I've move the ratelimit headers extraction the content processing in get_data, which makes the rate limit info available even in case of a response error from digitalocean.
I was getting DataReadErrors like these in the logs, with no way to get the info from the library about the ratelimit headers once the exception is raised
I've move the ratelimit headers extraction the content processing in get_data, which makes the rate limit info available even in case of a response error from digitalocean.