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

Better error message in MultiPartEmail.attach()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      Please replace line 367 of org.apache.commons.mail.MultiPartEmail

      [code]
      throw new EmailException("Invalid URL set");
      [code]

      with

      [code]
      throw new EmailException("Invalid URL: "+url, e);
      [code]

      to generate a better error message when an IOException is thrown.

        Attachments

          Activity

            People

            • Assignee:
              sgoeschl Siegfried Goeschl
              Reporter:
              digulla Aaron Digulla
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: