ソースを参照

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."""