소스 검색

celeryd: Proper catch-all of terminating exception

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

+ 1 - 1
celery/worker/__init__.py

@@ -251,7 +251,7 @@ class WorkController(object):
         except SystemTerminate:
             self.terminate()
             raise
-        except BaseException, exc:
+        except:
             self.stop()
             raise