[Minor] log authentication failed exception

This commit is contained in:
Robert von Burg 2018-11-14 15:42:45 +01:00
parent 8dcc6c310d
commit fefa23b62c
1 changed files with 1 additions and 0 deletions

View File

@ -1168,6 +1168,7 @@ public class DefaultPrivilegeHandler implements PrivilegeHandler {
} catch (PrivilegeException e) {
throw e;
} catch (RuntimeException e) {
logger.error(e.getMessage(), e);
String msg = "User {0} failed to authenticate: {1}"; //$NON-NLS-1$
msg = MessageFormat.format(msg, username, e.getMessage());
throw new PrivilegeException(msg, e);