Repository: qpid-proton Updated Branches: refs/heads/master 9272dea26 -> 8d1d20eb3
print connection errors Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8d1d20eb Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8d1d20eb Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8d1d20eb Branch: refs/heads/master Commit: 8d1d20eb318daeb1cc633dba9838f5f4f72d9d76 Parents: 9272dea Author: Rafael Schloming <[email protected]> Authored: Tue May 5 09:46:51 2015 -0400 Committer: Rafael Schloming <[email protected]> Committed: Tue May 5 09:46:51 2015 -0400 ---------------------------------------------------------------------- examples/python/reactor/send.py | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8d1d20eb/examples/python/reactor/send.py ---------------------------------------------------------------------- diff --git a/examples/python/reactor/send.py b/examples/python/reactor/send.py index 7b95502..c718780 100755 --- a/examples/python/reactor/send.py +++ b/examples/python/reactor/send.py @@ -55,6 +55,9 @@ class Send: ssn.open() snd.open() + def on_transport_error(self, event): + print event.transport.condition + def on_link_flow(self, event): snd = event.sender if snd.credit > 0: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
