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

Karl Wright commented on CONNECTORS-1671:
-----------------------------------------

[~julienFL], you are catching RuntimeException.  That is the broad class of 
exceptions that includes everything that you really don't want to ignore, e.g. 
OutOfMemoryException.  Can you be more specific about what you want to catch 
here?  I am not comfortable with this.


> Solr output connector behavior on some exceptions
> -------------------------------------------------
>
>                 Key: CONNECTORS-1671
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1671
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Lucene/SOLR connector
>    Affects Versions: ManifoldCF 2.19
>            Reporter: Julien Massiera
>            Priority: Major
>             Fix For: ManifoldCF next
>
>         Attachments: patch-CONNECTORS-1671.txt
>
>
> In the « handleIOException » method of the « HttpPoster » class, the unknown 
> case triggers a job failure despite the exception can only concern the 
> document/action itself and not a problem with a potential "Solr down" issue 
> (all "Solr down" issues are handled upstream)
> Same thing in the « handleSolrServerException » method



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to