From 18fedc67d5a4ffc696e7d18196bf3e11d3400fc0 Mon Sep 17 00:00:00 2001 From: Yao Zongyou Date: Tue, 10 Sep 2019 12:33:27 +0800 Subject: [PATCH] friendly prompt for s3select MalformedXML error (#8171) partly fix #7911 --- pkg/s3select/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/s3select/errors.go b/pkg/s3select/errors.go index b29a9d0e5..3cd12d4f0 100644 --- a/pkg/s3select/errors.go +++ b/pkg/s3select/errors.go @@ -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, }