diff options
| author | Pavel Moravec <pmoravec@apache.org> | 2014-05-21 12:51:01 +0000 |
|---|---|---|
| committer | Pavel Moravec <pmoravec@apache.org> | 2014-05-21 12:51:01 +0000 |
| commit | 271bd566515849efcf470074e8bbe11b7a4fc203 (patch) | |
| tree | a66a2d32bd6009051e98a407f6a3be5320eee09b /qpid/cpp/src | |
| parent | 18db9663c7c73af9d1dc5a82478419f56f597851 (diff) | |
| download | qpid-python-271bd566515849efcf470074e8bbe11b7a4fc203.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@1596565 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp b/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp index e5d6db1a04..d4029de818 100644 --- a/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp +++ b/qpid/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))); } } |
