diff --git a/rhodecode/lib/celerylib/loader.py b/rhodecode/lib/celerylib/loader.py --- a/rhodecode/lib/celerylib/loader.py +++ b/rhodecode/lib/celerylib/loader.py @@ -138,13 +138,14 @@ def on_preload_parsed(options, **kwargs) log.debug('Bootstrapping RhodeCode application...') - env = {} try: env = bootstrap(ini_location, options=options) except Exception: log.exception('Failed to bootstrap RhodeCode APP') + raise log.debug('Got Pyramid ENV: %s', env) + celery_settings = get_celery_config(env['registry'].settings) setup_celery_app(