Skip to content

Commit

Permalink
Remove dead code (Exception is a subclass of Throwable) found by sona…
Browse files Browse the repository at this point in the history
…rqube
  • Loading branch information
osma committed Sep 7, 2021
1 parent d2baacf commit 7a20882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/Vocabulary.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public function getConceptInfo($uri, $clang)
$conceptInfo = null;
try {
$conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang);
} catch (EasyRdf\Http\ExceptionEasyRdf\ExceptionException | Throwable $e) {
} catch (EasyRdf\Http\ExceptionEasyRdf\ExceptionThrowable $e) {
if ($this->model->getConfig()->getLogCaughtExceptions()) {
error_log('Caught exception: ' . $e->getMessage());
}
Expand Down

0 comments on commit 7a20882

Please sign in to comment.