Browse Source

Events: Fields not passed by .send() (fixes the uuid keyerrors in celerymon)

Ask Solem 15 years ago
parent
commit
910c351a93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/events.py

+ 1 - 1
celery/events.py

@@ -55,7 +55,7 @@ class EventDispatcher(object):
 
         self._lock.acquire()
         try:
-            self.publisher.send(Event(type, hostname=self.hostname))
+            self.publisher.send(Event(type, hostname=self.hostname, **fields))
         finally:
             self._lock.release()