[ 
https://issues.apache.org/jira/browse/NUTCH-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebastian Nagel resolved NUTCH-2568.
------------------------------------
    Resolution: Fixed

Thanks, [~HansBrende] for the careful code review, [~omkar20895] for the patch!

> Caught exception is immediately rethrown
> ----------------------------------------
>
>                 Key: NUTCH-2568
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2568
>             Project: Nutch
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.15
>            Reporter: Hans Brende
>            Priority: Minor
>             Fix For: 1.15
>
>
> {{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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to