You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2018/07/05 21:16:00 UTC
[jira] [Closed] (SOLR-146) Solr::Response::Base.make_response
raises misleading exception when response class exists but raises an
exception on creation
[ https://issues.apache.org/jira/browse/SOLR-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch closed SOLR-146.
--------------------------------------
> Solr::Response::Base.make_response raises misleading exception when response class exists but raises an exception on creation
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-146
> URL: https://issues.apache.org/jira/browse/SOLR-146
> Project: Solr
> Issue Type: Bug
> Components: clients - ruby - flare
> Reporter: Coda Hale
> Assignee: Erik Hatcher
> Priority: Minor
> Attachments: solrb_response_error_handling.diff
>
>
> When attempting to instantiate Solr::Response::InsertRequestTypeHere, Solr::Response::Base.make_response rescues all exceptions. If an existing Solr::Response class has an error on instantiation, an "unknown request type" error is raised, which is misleading.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org