Skip to content

Commit

Permalink
Just fall thru on any exception
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Feb 14, 2024
1 parent a1eb4e4 commit 058bf1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TestCase/AuthSource/Ldap/Bind.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -50,7 +50,7 @@ public function invokeTest(): void

try {
$this->connection->bind($this->username, $this->password);
} catch (Error\Error $error) {
} catch (Exception $error) {
// Fallthru
}

Expand Down

0 comments on commit 058bf1a

Please sign in to comment.