rohdesamuel commented on a change in pull request #11163: [BEAM-9548] Add 
better error handling to the TestStreamServiceController
URL: https://github.com/apache/beam/pull/11163#discussion_r397347169
 
 

 ##########
 File path: sdks/python/apache_beam/runners/interactive/interactive_runner.py
 ##########
 @@ -170,8 +170,13 @@ def run_pipeline(self, pipeline, options):
               user_pipeline)):
         streaming_cache_manager = ie.current_env().cache_manager()
         if streaming_cache_manager:
+
+          def exception_handler(e):
+            _LOGGER.error(str(e))
 
 Review comment:
   For here, we this is caught at the TestStreamService level and for the same 
reason, we just log the error so that it's easier for the user to understand. 
Because it's caught at the service level, it means that we have already stopped 
processing.

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


With regards,
Apache Git Services

Reply via email to