You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2019/05/14 18:10:30 UTC

[qpid-proton] branch master updated: PROTON-1977: [Python] Fix 4 year old(!) typo

This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 69abfa0  PROTON-1977: [Python] Fix 4 year old(!) typo
69abfa0 is described below

commit 69abfa0b9ee589f5c642254c095e8765a18d9708
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Tue May 14 14:04:06 2019 -0400

    PROTON-1977: [Python] Fix 4 year old(!) typo
---
 python/proton/_handlers.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/python/proton/_handlers.py b/python/proton/_handlers.py
index 566e010..8de0823 100644
--- a/python/proton/_handlers.py
+++ b/python/proton/_handlers.py
@@ -359,20 +359,20 @@ class EndpointStateHandler(Handler):
         if self.delegate is not None:
             _dispatch(self.delegate, 'on_connection_error', event)
         else:
-            self.log_error(event.connection, "connection")
+            self.print_error(event.connection, "connection")
 
     def on_session_error(self, event):
         if self.delegate is not None:
             _dispatch(self.delegate, 'on_session_error', event)
         else:
-            self.log_error(event.session, "session")
+            self.print_error(event.session, "session")
             event.connection.close()
 
     def on_link_error(self, event):
         if self.delegate is not None:
             _dispatch(self.delegate, 'on_link_error', event)
         else:
-            self.log_error(event.link, "link")
+            self.print_error(event.link, "link")
             event.connection.close()
 
     def on_connection_closed(self, event):


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org