Exemple #1
0
 /**
  * Checks the solr config name and adds it to the report.
  *
  * @param SolrService $solr
  */
 protected function checkSolrConfigName(SolrService $solr)
 {
     try {
         $solrConfigMessage = $solr->getSolrconfigName();
     } catch (\Exception $e) {
         $this->responseStatus = Status::ERROR;
         $solrConfigMessage = 'Error determining solr config: ' . $e->getMessage();
     }
     $this->responseMessage = $this->replaceMarkerInResponse($this->responseMessage, 'SOLR_CONFIG', $solrConfigMessage);
 }