Browse Source

Merge branch 'master' of github.com:celery/celery

Ask Solem 11 years ago
parent
commit
c8f6eb55ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/beat.py

+ 1 - 1
celery/beat.py

@@ -244,7 +244,7 @@ class Scheduler(object):
         except Exception as exc:
             reraise(SchedulingError, SchedulingError(
                 "Couldn't apply scheduled task {0.name}: {exc}".format(
-                    entry, exc)), sys.exc_info()[2])
+                    entry, exc=exc)), sys.exc_info()[2])
         finally:
             if self.should_sync():
                 self._do_sync()