Skip to content

Commit

Permalink
fix(LDAP): also log why the connection to main server failed
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Jan 24, 2025
1 parent 60e8503 commit 0815aa0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/user_ldap/lib/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,11 @@ private function establishConnection(): ?bool {
}
}
$this->logger->warning(
'Main LDAP not reachable, connecting to backup',
'Main LDAP not reachable, connecting to backup: {msg}',
[
'app' => 'user_ldap'
'app' => 'user_ldap',
'msg' => $e->getMessage(),
'exception' => $e,
]
);
}
Expand Down

0 comments on commit 0815aa0

Please sign in to comment.