reta commented on a change in pull request #618: On connection refused,
XSLTOutInterceptor mangles the error
URL: https://github.com/apache/cxf/pull/618#discussion_r361856660
##########
File path:
core/src/main/java/org/apache/cxf/feature/transform/XSLTOutInterceptor.java
##########
@@ -169,7 +169,7 @@ public void onClose(CachedOutputStream wrapper) {
} finally {
try {
origStream.close();
- } catch (IOException e) {
+ } catch (Exception e) {
Review comment:
I am not sure what this change is for, `close()` may throw only `IOException`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services