Explorar el Código

celeryd: Proper catch-all of terminating exception

Ask Solem hace 14 años
padre
commit
c2d83cc7b2
Se han modificado 1 ficheros con 1 adiciones y 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