##// END OF EJS Templates
celery: fail with exception if bootstrap is failed
super-admin -
r4876:39926d5e default
parent child Browse files
Show More
@@ -138,13 +138,14 b' def on_preload_parsed(options, **kwargs)'
138
138
139 log.debug('Bootstrapping RhodeCode application...')
139 log.debug('Bootstrapping RhodeCode application...')
140
140
141 env = {}
142 try:
141 try:
143 env = bootstrap(ini_location, options=options)
142 env = bootstrap(ini_location, options=options)
144 except Exception:
143 except Exception:
145 log.exception('Failed to bootstrap RhodeCode APP')
144 log.exception('Failed to bootstrap RhodeCode APP')
145 raise
146
146
147 log.debug('Got Pyramid ENV: %s', env)
147 log.debug('Got Pyramid ENV: %s', env)
148
148 celery_settings = get_celery_config(env['registry'].settings)
149 celery_settings = get_celery_config(env['registry'].settings)
149
150
150 setup_celery_app(
151 setup_celery_app(
General Comments 0
You need to be logged in to leave comments. Login now