Add error logs.

This commit is contained in:
Anatoliy Sablin
2020-05-06 19:47:13 +03:00
parent 791361c10d
commit e4144e923a

View File

@@ -162,6 +162,7 @@ public class LdapAuthProvider extends LdapBackend implements AuthenticatorProvid
log.info("No match were found for {}", mxid); log.info("No match were found for {}", mxid);
return BackendAuthResult.failure(); return BackendAuthResult.failure();
} catch (LdapException | IOException | CursorException e) { } catch (LdapException | IOException | CursorException e) {
log.error("Unable to invoke query request: ", e);
throw new InternalServerError(e); throw new InternalServerError(e);
} }
} }