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

ASF subversion and git services commented on SOLR-5895:
-------------------------------------------------------

Commit 1580291 from [email protected] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1580291 ]

SOLR-5895: JavaBinLoader hides IOExceptions

> JavaBinLoader hides IOExceptions
> --------------------------------
>
>                 Key: SOLR-5895
>                 URL: https://issues.apache.org/jira/browse/SOLR-5895
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mike Sokolov
>            Assignee: Shalin Shekhar Mangar
>
> An IOException raised during analysis is swallowed by JavabinLoader, so the 
> underlying cause is not visible in the logs, or to the client.  Proposed fix 
> is to change
> {code}
> throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding 
> document " + document);
> {code}
> to
> {code}
> throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding 
> document " + document, e);
> {code}
> on line 99 in JavaBinLoader.java



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to