Sfoglia il codice sorgente

Except trickery :(

Ask Solem 13 anni fa
parent
commit
4151b4ab09
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      celery/worker/__init__.py

+ 3 - 0
celery/worker/__init__.py

@@ -267,6 +267,9 @@ class WorkController(object):
         except SystemExit:
             self.stop()
             raise
+        except Exception:
+            self.stop()
+            raise
         except:
             self.stop()
             try: