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

MimeMessageUtils.writeMimeMessage writes stacktrace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: