Pārlūkot izejas kodu

celeryd: Proper catch-all of terminating exception

Ask Solem 14 gadi atpakaļ
vecāks
revīzija
c2d83cc7b2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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