friendly prompt for s3select MalformedXML error (#8171)

partly fix #7911
This commit is contained in:
Yao Zongyou 2019-09-10 12:33:27 +08:00 committed by Harshavardhana
parent a0456ce940
commit 18fedc67d5

View File

@ -56,7 +56,7 @@ func (err *s3Error) Error() string {
func errMalformedXML(err error) *s3Error {
return &s3Error{
code: "MalformedXML",
message: "The XML provided was not well-formed or did not validate against our published schema. Check the service documentation and try again.",
message: "The XML provided was not well-formed or did not validate against our published schema. Check the service documentation and try again: " + err.Error(),
statusCode: 400,
cause: err,
}