@@ -165,10 +165,10 @@ discard block |
||
165 | 165 | $sparql = $this->getSparql(); |
166 | 166 | $result = $sparql->queryConceptScheme($defaultcs); |
167 | 167 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
168 | - if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
169 | - error_log('Caught exception: ' . $e->getMessage()); |
|
170 | - } |
|
171 | - return null; |
|
168 | + if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
169 | + error_log('Caught exception: ' . $e->getMessage()); |
|
170 | + } |
|
171 | + return null; |
|
172 | 172 | } |
173 | 173 | $conceptscheme = $result->resource($defaultcs); |
174 | 174 | $this->order = array("dc:title", "dc11:title", "skos:prefLabel", "rdfs:label", "dc:subject", "dc11:subject", "dc:description", "dc11:description", "dc:publisher", "dc11:publisher", "dc:creator", "dc11:creator", "dc:contributor", "dc:language", "dc11:language", "owl:versionInfo", "dc:source", "dc11:source"); |
@@ -238,9 +238,9 @@ discard block |
||
238 | 238 | try { |
239 | 239 | $conceptSchemes = $this->getSparql()->queryConceptSchemes($lang); |
240 | 240 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
241 | - if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
242 | - error_log('Caught exception: ' . $e->getMessage()); |
|
243 | - } |
|
241 | + if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
242 | + error_log('Caught exception: ' . $e->getMessage()); |
|
243 | + } |
|
244 | 244 | } |
245 | 245 | return $conceptSchemes; |
246 | 246 | } |
@@ -436,9 +436,9 @@ discard block |
||
436 | 436 | try { |
437 | 437 | $conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang); |
438 | 438 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
439 | - if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
440 | - error_log('Caught exception: ' . $e->getMessage()); |
|
441 | - } |
|
439 | + if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
440 | + error_log('Caught exception: ' . $e->getMessage()); |
|
441 | + } |
|
442 | 442 | } |
443 | 443 | return $conceptInfo; |
444 | 444 | } |