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 a30ae06 commit e1dfa05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php
Expand Up @@ -187,6 +187,7 @@ private function connect(int $activeServer = 0): void
);

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

0 comments on commit e1dfa05

Please sign in to comment.