Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-146

Solr::Response::Base.make_response raises misleading exception when response class exists but raises an exception on creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • clients - ruby - flare
    • None

    Description

      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.

      Attachments

        Activity

          People

            ehatcher Erik Hatcher
            codahale Coda Hale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: