This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 3e287ac4d7 Remove unnecessary exception wrapping 3e287ac4d7 is described below commit 3e287ac4d7dbc04a364f10ede42b3518866d4ed1 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 5ce77d2d08..8094e7e565 100644 --- a/java/org/apache/catalina/connector/Request.java +++ b/java/org/apache/catalina/connector/Request.java @@ -2799,7 +2799,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