chore: log ZIP archive corruption error
What does this MR do?
When a ZIP file cannot be opened for some reason, we previously would
discard the error after attempting to retrieve it from the
cache. While this error is logged in another message, it would be
helpful to have the same message tied with the "archive corrupted" log
entry.
Relates to https://gitlab.com/gitlab-org/gitlab-pages/-/issues/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