Skip to content

Draft: Add upload error body to logs

Robert May requested to merge workhorse-error-body-logging into master

What does this MR do and why?

Contributes to create-stage#12809 (closed)

Describe in detail what your merge request does and why.

Adds basic error logging of the body of an error response to workhorse logs. This aids in debugging issues tied to the object storage backend that aren't easily visible elsewhere.

Related https://gitlab.com/gitlab-org/gitlab/-/issues/359155

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Robert May

Merge request reports