CORDA-2621 - change message when rpc/p2p login fails (#4994) (#5020)

(cherry picked from commit d15699289c675871610f40c8247d14eba2afff21)
This commit is contained in:
Tudor Malene 2019-04-15 10:23:30 +01:00 committed by Katelyn Baker
parent 13f6bc0c4d
commit 43e3755c6f

View File

@ -108,7 +108,7 @@ class BrokerJaasLoginModule : BaseBrokerJaasLoginModule() {
if (e is IllegalArgumentException && e.stackTrace.any { it.className == "org.apache.activemq.artemis.protocol.amqp.sasl.PlainSASL" }) { if (e is IllegalArgumentException && e.stackTrace.any { it.className == "org.apache.activemq.artemis.protocol.amqp.sasl.PlainSASL" }) {
log.trace("SASL Login failed.") log.trace("SASL Login failed.")
} else { } else {
log.error("Login failed: ${e.message}", e) log.warn("Login failed: ${e.message}")
} }
if (e is LoginException) { if (e is LoginException) {
throw e throw e