diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
index 5a9fbb687c96a8a664963e54d256db7437fd1a37..52213208d6347b37d1b111b9c11dfe73cc625f98 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
@@ -203,7 +203,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
             $this->db->exec("SET NAMES utf8");
         } catch (PDOException $e) {
             $this->debug('Connection failed: ' . $e->getMessage());
-            throw new ILSException($e->getMessage);
+            throw new ILSException($e->getMessage());
         }
 
         $this->debug('Connected to DB');
@@ -236,7 +236,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
             $result = $this->db->query("SELECT 1 FROM $table LIMIT 1");
             // Result is FALSE (no table found) or PDOStatement Object (table found)
             $returnValue = $result !== false;
-        } catch (Exception $e) {
+        } catch (PDOException $e) {
             // We got an exception == table not found
             $returnValue = false;
         }