diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index f0b1fa17ee64e..93a83709055dc 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -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, ] ); }