slawekjaranowski commented on code in PR #328:
URL: https://github.com/apache/maven-filtering/pull/328#discussion_r3204182056


##########
src/main/java/org/apache/maven/shared/filtering/FilteringUtils.java:
##########
@@ -388,6 +389,8 @@ private static boolean copyUnconditionally(File from, File 
to, String encoding,
                         writer.write(buffer, 0, nRead);
                     }
                 }
+            } catch (MalformedInputException e) {
+                throw new IOException("using encoding " + charset.name(), e);

Review Comment:
   What it  is in `MalformedInputException.getMessage`?
   
   Maybe 
   
   ```java
   throw new IOException(e.getMessage() + " - using encodeing " + 
charset.name(), e);
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to