You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/06/26 16:01:52 UTC
[tomcat] branch 10.1.x updated: Remove unnecessary exception wrapping
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 3874e3e3ef Remove unnecessary exception wrapping
3874e3e3ef is described below
commit 3874e3e3eff6a4e9418da730899aa772ae7c5b69
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 b9307d4ccd..784f271c4c 100644
--- a/java/org/apache/catalina/connector/Request.java
+++ b/java/org/apache/catalina/connector/Request.java
@@ -2841,7 +2841,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org