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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: clients - ruby - flare
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: