Repository: qpid-proton Updated Branches: refs/heads/master c18484e2f -> 4f11a90e9
improved error message Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4f11a90e Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4f11a90e Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4f11a90e Branch: refs/heads/master Commit: 4f11a90e953cd7408292af74e65c3b6f9f647639 Parents: c18484e Author: Rafael Schloming <[email protected]> Authored: Thu Jan 22 09:37:08 2015 -0500 Committer: Rafael Schloming <[email protected]> Committed: Thu Jan 22 09:37:08 2015 -0500 ---------------------------------------------------------------------- proton-c/bindings/python/proton/reactors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4f11a90e/proton-c/bindings/python/proton/reactors.py ---------------------------------------------------------------------- diff --git a/proton-c/bindings/python/proton/reactors.py b/proton-c/bindings/python/proton/reactors.py index 48eb100..d0b8b47 100644 --- a/proton-c/bindings/python/proton/reactors.py +++ b/proton-c/bindings/python/proton/reactors.py @@ -929,7 +929,7 @@ class Reactor(Wrapper): if aimpl: return Acceptor(aimpl) else: - raise IOError(pn_error_text(pn_io_error(pn_reactor_io(self._impl)))) + raise IOError("%s (%s:%s)" % (pn_error_text(pn_io_error(pn_reactor_io(self._impl))), host, port)) def connection(self, handler=None): impl = _chandler(handler, self.errors) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
