aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Connection.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Connection.php')
-rw-r--r--apps/user_ldap/lib/Connection.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php
index f0b1fa17ee6..93a83709055 100644
--- a/apps/user_ldap/lib/Connection.php
+++ b/apps/user_ldap/lib/Connection.php
@@ -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,
]
);
}