You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:52:44 UTC

[jira] [Updated] (SOLR-5342) In some places, when a caught exception is re-thrown, the original exception is not included

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

David Smiley updated SOLR-5342:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> In some places, when a caught exception is re-thrown, the original exception is not included
> --------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5342
>                 URL: https://issues.apache.org/jira/browse/SOLR-5342
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.5
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>            Priority: Minor
>             Fix For: 4.8
>
>         Attachments: SOLR-5342.patch, SOLR-5342.patch, SOLR-5342.patch
>
>
> ShardHandlerFactory#newInstance catches exceptions and rethrows them.  It was including the message from the caught exception, but not including the actual exception.  This made it difficult to figure out the root cause for an SSL initialization error.
> While fixing this, I discovered other places that are missing this as well.  Some of them I elected not to fix, either because it's catching IOException (which normally provides good messages), or because it was in a location that might get called frequently, which would greatly increase logging output.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org