소스 검색

celeryd: Don't re-raise from new stack

Ask Solem 14 년 전
부모
커밋
dd02305c68
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      celery/worker/__init__.py

+ 2 - 2
celery/worker/__init__.py

@@ -250,10 +250,10 @@ class WorkController(object):
                 blocking(component.start)
         except SystemTerminate:
             self.terminate()
-            raise SystemExit()
+            raise
         except BaseException, exc:
             self.stop()
-            raise exc
+            raise
 
     def process_task(self, request):
         """Process task by sending it to the pool of workers."""