You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2014/10/18 14:54:11 UTC
svn commit: r1632784 - /qpid/proton/trunk/proton-c/bindings/python/proton.py
Author: rhs
Date: Sat Oct 18 12:54:11 2014
New Revision: 1632784
URL: http://svn.apache.org/r1632784
Log:
fixed error message
Modified:
qpid/proton/trunk/proton-c/bindings/python/proton.py
Modified: qpid/proton/trunk/proton-c/bindings/python/proton.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/proton.py?rev=1632784&r1=1632783&r2=1632784&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/proton.py (original)
+++ qpid/proton/trunk/proton-c/bindings/python/proton.py Sat Oct 18 12:54:11 2014
@@ -806,7 +806,7 @@ class Message(object):
def _check(self, err):
if err < 0:
exc = EXCEPTIONS.get(err, MessageException)
- raise exc("[%s]: %s" % (err, pn_message_error(self._msg)))
+ raise exc("[%s]: %s" % (err, pn_error_text(pn_message_error(self._msg))))
else:
return err
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org