Skip to content

Commit a5efc60

Browse files
committed
trying to fix broken pipe error
1 parent 6687615 commit a5efc60

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cadence/activity_loop.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ def activity_task_loop(worker: Worker):
3838
return
3939
except Exception as ex:
4040
logger.error("PollForActivityTask error: %s", ex)
41-
logger.info(f"trying to restart worker and returning from current method")
42-
worker.stop()
43-
worker.start()
44-
return
41+
raise
4542
if err:
4643
logger.error("PollForActivityTask failed: %s", err)
4744
continue

0 commit comments

Comments
 (0)