Explorar o código

celeryd: Proper catch-all of terminating exception

Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
c2d83cc7b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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