[ 
https://issues.apache.org/jira/browse/NUTCH-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446886#comment-16446886
 ] 

Hudson commented on NUTCH-2568:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch-trunk #3520 (See 
[https://builds.apache.org/job/Nutch-trunk/3520/])
NUTCH-2568 Adding error log in NutchJob.cleanupAfterFailure() (omkarreddy2008: 
[https://github.com/apache/nutch/commit/e9a15c3a9f46a390266baa3281ff1cb0ed12161c])
* (edit) src/java/org/apache/nutch/util/NutchJob.java


> 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