Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report non-XML formated error details #1585

Merged

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented Nov 16, 2021

This avoids hiding further error context in the case when it is coming from a layer, which is not necessarily using the S3 XML error format.

Note: The separate commit also ensures an unrelated test case is called

This avoids hiding further error context in the case when it is coming
from a layer, which is not necessarily using the S3 XML error format.
@simonswine simonswine changed the title 20211116 better s3 error handling Report non-XML formated error details Nov 16, 2021
@simonswine simonswine marked this pull request as ready for review November 16, 2021 09:36
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Some minor changes.

api-error-response.go Outdated Show resolved Hide resolved
api-error-response.go Outdated Show resolved Hide resolved
api-error-response.go Outdated Show resolved Hide resolved
api-error-response.go Outdated Show resolved Hide resolved
@klauspost
Copy link
Contributor

@simonswine Seems like some formatting is required. Otherwise LGTM.

Co-authored-by: Klaus Post <klauspost@gmail.com>
@simonswine simonswine force-pushed the 20211116_better-s3-error-handling branch from 124fb51 to 36d740d Compare November 16, 2021 15:11
@simonswine
Copy link
Contributor Author

@simonswine Seems like some formatting is required. Otherwise LGTM.

should be good now

@harshavardhana harshavardhana merged commit d006293 into minio:master Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants