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

Caught exception is immediately rethrown

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.15
    • Fix Version/s: 1.15
    • Component/s: util
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                HansBrende Hans Brende
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: