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 2012/11/27 12:57:21 UTC
svn commit: r1414136 - /qpid/proton/trunk/proton-c/bindings/python/proton.py
Author: rhs
Date: Tue Nov 27 11:57:20 2012
New Revision: 1414136
URL: http://svn.apache.org/viewvc?rev=1414136&view=rev
Log:
add error info to exception
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=1414136&r1=1414135&r2=1414136&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/proton.py (original)
+++ qpid/proton/trunk/proton-c/bindings/python/proton.py Tue Nov 27 11:57:20 2012
@@ -970,7 +970,7 @@ class Data:
def _check(self, err):
if err < 0:
exc = EXCEPTIONS.get(err, DataException)
- raise exc("[%s]: %s" % (err, "xxx"))
+ raise exc("[%s]: %s" % (err, pn_data_error(self._data)))
else:
return err
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org