You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by pm...@apache.org on 2014/05/21 14:51:01 UTC

svn commit: r1596565 - /qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp

Author: pmoravec
Date: Wed May 21 12:51:01 2014
New Revision: 1596565

URL: http://svn.apache.org/r1596565
Log:
no JIRA: [C++ broker] have more descriptive error on parse error of SASL config file

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp?rev=1596565&r1=1596564&r2=1596565&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp Wed May 21 12:51:01 2014
@@ -138,7 +138,7 @@ void SaslAuthenticator::init(const std::
     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)));
     }
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org