summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@apache.org>2014-05-21 12:51:01 +0000
committerPavel Moravec <pmoravec@apache.org>2014-05-21 12:51:01 +0000
commit88b8f208aed930fba6cc4a3984b57167efc4eb82 (patch)
tree186a6fa78339aa2543e6429108b0ad481929d78d /cpp
parent5debf57ee39559a1a1fa9d003882e928b2765ed3 (diff)
downloadqpid-python-88b8f208aed930fba6cc4a3984b57167efc4eb82.tar.gz
no JIRA: [C++ broker] have more descriptive error on parse error of SASL config file
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1596565 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/SaslAuthenticator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SaslAuthenticator.cpp b/cpp/src/qpid/broker/SaslAuthenticator.cpp
index e5d6db1a04..d4029de818 100644
--- a/cpp/src/qpid/broker/SaslAuthenticator.cpp
+++ b/cpp/src/qpid/broker/SaslAuthenticator.cpp
@@ -138,7 +138,7 @@ void SaslAuthenticator::init(const std::string& saslName, std::string const & sa
if (code != SASL_OK) {
// TODO: Figure out who owns the char* returned by
// sasl_errstring, though it probably does not matter much
- throw Exception(sasl_errstring(code, NULL, NULL));
+ throw Exception(QPID_MSG("SASL: failed to parse SASL configuration file, error: " << sasl_errstring(code, NULL, NULL)));
}
}