You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/01/29 19:47:28 UTC

[GitHub] dubeejw closed pull request #239: add logging for errors

dubeejw closed pull request #239: add logging for errors
URL: https://github.com/apache/incubator-openwhisk-package-kafka/pull/239
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/provider/consumer.py b/provider/consumer.py
index 2a0c65a..4728d27 100644
--- a/provider/consumer.py
+++ b/provider/consumer.py
@@ -481,6 +481,7 @@ def __encodeKeyIfNeeded(self, key):
         return key
 
     def __error_callback(self, error):
+        logging.warning(error)
         if not self.connected and error.code() == KafkaError._AUTHENTICATION:
             self.authErrors = self.authErrors + 1
             if self.authErrors > self.maxAuthErrors:


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services