diff --git a/src/TestCase/AuthSource/Ldap/Bind.php b/src/TestCase/AuthSource/Ldap/Bind.php index 2a652e6..4a67a44 100644 --- a/src/TestCase/AuthSource/Ldap/Bind.php +++ b/src/TestCase/AuthSource/Ldap/Bind.php @@ -4,7 +4,7 @@ namespace SimpleSAML\Module\monitor\TestCase\AuthSource\Ldap; -use SimpleSAML\Error; +use Exception; use SimpleSAML\Module\ldap\ConnectorInterface; use SimpleSAML\Module\monitor\State; use SimpleSAML\Module\monitor\TestData; @@ -50,7 +50,7 @@ public function invokeTest(): void try { $this->connection->bind($this->username, $this->password); - } catch (Error\Error $error) { + } catch (Exception $error) { // Fallthru }