File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -880,9 +880,11 @@ def run(self):
880880 finally :
881881 # noinspection PyPep8,PyBroadException
882882 try :
883+ logger .info (f"closing wf service" )
883884 self .service .close ()
884885 except :
885886 logger .warning ("service.close() failed" , exc_info = 1 )
887+ logger .info (f"notifying worker thread stopped" )
886888 self .worker .notify_thread_stopped ()
887889
888890 def poll (self ) -> Optional [PollForDecisionTaskResponse ]:
@@ -900,6 +902,7 @@ def poll(self) -> Optional[PollForDecisionTaskResponse]:
900902 logger .debug ("PollForDecisionTask: %dms" , (polling_end - polling_start ).total_seconds () * 1000 )
901903 except TChannelException as ex :
902904 logger .error ("PollForDecisionTask error: %s" , ex )
905+ logger .info (f"raising exception PollForDecisionTask { ex } " )
903906 raise
904907 if err :
905908 logger .error ("PollForDecisionTask failed: %s" , err )
You can’t perform that action at this time.
0 commit comments