Skip to content

Commit

Permalink
Remove unnecessary exception wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Jun 26, 2023
1 parent 32d0d53 commit 3e287ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/apache/catalina/connector/Request.java
Original file line number Diff line number Diff line change
Expand Up @@ -2799,7 +2799,7 @@ private void parseParts(boolean explicit) {
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();
Expand Down

0 comments on commit 3e287ac

Please sign in to comment.