From 058bf1af7afe01a097c47823462df1db22092720 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Wed, 14 Feb 2024 11:42:21 +0100 Subject: [PATCH] Just fall thru on any exception --- src/TestCase/AuthSource/Ldap/Bind.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }