This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new faa450ac3f Remove unnecessary exception wrapping faa450ac3f is described below commit faa450ac3fd6c1039c20deafb7610060919272b7 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Jun 26 17:01:36 2023 +0100 Remove unnecessary exception wrapping --- java/org/apache/catalina/connector/Request.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/catalina/connector/Request.java b/java/org/apache/catalina/connector/Request.java index 6418b8c269..276343415c 100644 --- a/java/org/apache/catalina/connector/Request.java +++ b/java/org/apache/catalina/connector/Request.java @@ -2906,7 +2906,7 @@ public class Request implements HttpServletRequest { partsParseException = new IllegalStateException(e); } catch (IOException e) { parameters.setParseFailedReason(FailReason.IO_ERROR); - partsParseException = new IOException(e); + partsParseException = e; } catch (IllegalStateException e) { // addParameters() will set parseFailedReason checkSwallowInput(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org