mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-243: Change warning message to include failed referral.
This commit is contained in:
@@ -194,7 +194,7 @@ public class ConnectionService {
|
|||||||
// Deal with issues following LDAP referrals
|
// Deal with issues following LDAP referrals
|
||||||
catch (LDAPReferralException e) {
|
catch (LDAPReferralException e) {
|
||||||
if (confService.getFollowReferrals()) {
|
if (confService.getFollowReferrals()) {
|
||||||
logger.error("Could not follow referral.", e.getMessage());
|
logger.error("Could not follow referral.", e.getFailedReferral());
|
||||||
logger.debug("Error encountered trying to follow referral.", e);
|
logger.debug("Error encountered trying to follow referral.", e);
|
||||||
throw new GuacamoleServerException("Could not follow LDAP referral.", e);
|
throw new GuacamoleServerException("Could not follow LDAP referral.", e);
|
||||||
}
|
}
|
||||||
|
@@ -129,7 +129,7 @@ public class UserService {
|
|||||||
// Deal with errors trying to follow referrals
|
// Deal with errors trying to follow referrals
|
||||||
catch (LDAPReferralException e) {
|
catch (LDAPReferralException e) {
|
||||||
if (confService.getFollowReferrals()) {
|
if (confService.getFollowReferrals()) {
|
||||||
logger.error("Could not follow referral.", e.getMessage());
|
logger.error("Could not follow referral.", e.getFailedReferral());
|
||||||
logger.debug("Error encountered trying to follow referral.", e);
|
logger.debug("Error encountered trying to follow referral.", e);
|
||||||
throw new GuacamoleServerException("Could not follow LDAP referral.", e);
|
throw new GuacamoleServerException("Could not follow LDAP referral.", e);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user