qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [24/50] [abbrv] qpid-proton git commit: fixed error message
Date Fri, 14 Nov 2014 11:03:33 GMT
fixed error message

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1632784 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/719ee5bd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/719ee5bd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/719ee5bd

Branch: refs/heads/examples
Commit: 719ee5bd5848a34a4e10719bc9f6392ebf2a1af9
Parents: 8d6532d
Author: Rafael H. Schloming <rhs@apache.org>
Authored: Sat Oct 18 12:54:11 2014 +0000
Committer: Rafael H. Schloming <rhs@apache.org>
Committed: Sat Oct 18 12:54:11 2014 +0000

----------------------------------------------------------------------
 proton-c/bindings/python/proton.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/719ee5bd/proton-c/bindings/python/proton.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton.py b/proton-c/bindings/python/proton.py
index bf76af0..84b6654 100644
--- a/proton-c/bindings/python/proton.py
+++ b/proton-c/bindings/python/proton.py
@@ -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


Mime
View raw message