Sebb created EMAIL-169:
--------------------------

             Summary: MimeMessageUtils.writeMimeMessage writes stacktrace
                 Key: EMAIL-169
                 URL: https://issues.apache.org/jira/browse/EMAIL-169
             Project: Commons Email
          Issue Type: Bug
            Reporter: Sebb


The MimeMessageUtils.writeMimeMessage method displays a stack trace if there 
has been a problem writing to the output file and the file cannot subsequently 
be closed. It also catches Exception rather than IOE.

Library code should almost never display stack traces.

The other methods in the class allow the close failure to be propagated.
This should too.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to