You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2007/02/09 01:48:09 UTC

[jira] Resolved: (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 ]

Erik Hatcher resolved SOLR-146.
-------------------------------

    Resolution: Fixed
      Assignee: Erik Hatcher

Committed.  Thanks!

> 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
>         Assigned To: 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.