mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #50405 from nextcloud/fix/noid/ldap-no-connection-reason
fix(LDAP): also log why the connection to main server failed
This commit is contained in:
commit
4aa16840f9
1 changed files with 4 additions and 2 deletions
|
|
@ -614,9 +614,11 @@ class Connection extends LDAPUtility {
|
|||
}
|
||||
}
|
||||
$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,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue