Skip to content

Commit

Permalink
fix: add log entry if something wents wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed May 9, 2024
1 parent baa9892 commit a52ad2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ private function connect(int $activeServer = 0): void
);

if ($this->ldapCore->error) {
$this->configuration->getLogger()->error($this->ldapCore->error);
$this->errors[] = $this->ldapCore->error;
}
}
Expand Down

0 comments on commit a52ad2b

Please sign in to comment.