Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2568

Caught exception is immediately rethrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.15
    • 1.15
    • util
    • None

    Description

      NutchJob.cleanupAfterFailure() catches an IOException and immediately rethrows it without logging it. Either remove the try-catch block, or do something with the exception, e.g., log it.

      Relevant line of code:
      https://github.com/apache/nutch/blob/4c3fb71208a29e1e49201002bda08499a14b443d/src/java/org/apache/nutch/util/NutchJob.java#L50

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hansbrende Hans Brende
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: