kaijchen opened a new pull request, #39551: URL: https://github.com/apache/doris/pull/39551
## Proposed changes This is a follow-up for #38585. Previously we pass the under layer s3 exceptions by "caused by" chains. However, this chain of information is not included when returning result to the user. This PR adds the detailed error message in the top layer exception. So the error can be returned to the user. For example: When s3 layer returns Exceptions like this: ``` org.apache.doris.common.DdlException: errCode = 2, detailMessage = Failed to head object for COS, subKey=1, Error code=UnknownHost, Error message=[qa-build.cos.oss-cn-beijing.myqcloud.com](http://qa-build.cos.oss-cn-beijing.myqcloud.com/) ``` The following string is now returned to the user. ``` Failed to head object for COS, subKey=1, Error code=UnknownHost, Error message=[qa-build.cos.oss-cn-beijing.myqcloud.com](http://qa-build.cos.oss-cn-beijing.myqcloud.com/) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org