remove error details from pipeline upload response
(will fix name if PR is taken out of draft)
Description of your changes:
This is a supplemental PR to #12295. The previous PR addressed making error messages less verbose but overlooked that the error details in writeErrorToResponse prints stack traces for errors wrapped by pkg/errors deeper in the call chain
This PR contains the correct implementation and has been validated in a live cluster
Test Evidence:
Before:
After:
Checklist:
- [X] You have signed off your commits
- [X] The title for your pull request (PR) should follow our title convention. Learn more about the pull request title convention used in this repository.
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign chensun for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment