fix: log errors when HTTP range requests fail
What does this MR do?
When a HTTP range fails, we see changes in Prometheus metrics but it would be helpful to know exactly why certain requests fail.
Relates to #690
TODO
-
I added the Changelog
trailer (e.g.Changelog: added
) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines
Edited by Stan Hu