Uploaded image for project: 'Commons Email'
  1. Commons Email
  2. EMAIL-169

MimeMessageUtils.writeMimeMessage writes stacktrace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: