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 <[email protected]> Authored: Sat Oct 18 12:54:11 2014 +0000 Committer: Rafael H. Schloming <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
