mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-17 11:58:10 +00:00
refactor: Return original exception as caused by (#7722)
Co-authored-by: Aditya Radhakrishnan <aditya.radhakrish@gmail.com>
This commit is contained in:
parent
5588a04bc5
commit
593fec5071
@ -33,7 +33,7 @@ public class AuthenticationManager {
|
||||
LoginContext lc = new LoginContext("WHZ-Authentication", new WHZCallbackHandler(userName, password));
|
||||
lc.login();
|
||||
} catch (LoginException le) {
|
||||
throw new AuthenticationException(le.toString());
|
||||
throw new AuthenticationException(le.toString(), le);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user