Skip to content
Snippets Groups Projects
Commit 0983998e authored by André Lahmann's avatar André Lahmann
Browse files

* bugfix in SolrAI

parent 6f764bf8
No related merge requests found
......@@ -671,12 +671,12 @@ class SolrAI extends SolrDefault implements
* @param string $baseUrl The Ai fullrecord server url.
*
* @return mixed Raw curl request response (should be json).
* @throws Exception
* @throws \Exception
*/
protected function retrieveAiFullrecord($id, $baseUrl)
{
if (!isset($id)) {
throw new Exception('no id given');
throw new \Exception('no id given');
}
$url = sprintf($baseUrl, $id);
......@@ -684,7 +684,7 @@ class SolrAI extends SolrDefault implements
try {
$response = $this->httpService->get($url);
} catch (\Exception $e) {
throw new Exception($e->getMessage());
throw new \Exception($e->getMessage());
}
if (!$response->isSuccess()) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment