diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-06-03 18:09:02 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-06-03 18:09:02 +0500 |
commit | c49bc6b7102dc672237f8d4579f07bf57e6b9488 (patch) | |
tree | f28cd2109dfe8339d7b3f5328133d0e3385ebbeb /util/sasl_cyrus.lua | |
parent | 03ffab383cb0c807a1c6370f169b9bff887874ea (diff) | |
download | prosody-c49bc6b7102dc672237f8d4579f07bf57e6b9488.tar.gz prosody-c49bc6b7102dc672237f8d4579f07bf57e6b9488.zip |
util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code.
Diffstat (limited to 'util/sasl_cyrus.lua')
-rw-r--r-- | util/sasl_cyrus.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua index b5f505eb..add7fe45 100644 --- a/util/sasl_cyrus.lua +++ b/util/sasl_cyrus.lua @@ -127,7 +127,7 @@ function method:process(message) elseif (err == -13) then -- SASL_BADAUTH return "failure", "not-authorized", cyrussasl.get_message( self.cyrus ) else - log("debug", "Got SASL error condition %d", err) + log("debug", "Got SASL error condition %d: %s", err, cyrussasl.get_message( self.cyrus )) return "failure", "undefined-condition", cyrussasl.get_message( self.cyrus ) end end |