##// 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 139 log.debug('Bootstrapping RhodeCode application...')
140 140
141 env = {}
142 141 try:
143 142 env = bootstrap(ini_location, options=options)
144 143 except Exception:
145 144 log.exception('Failed to bootstrap RhodeCode APP')
145 raise
146 146
147 147 log.debug('Got Pyramid ENV: %s', env)
148
148 149 celery_settings = get_celery_config(env['registry'].settings)
149 150
150 151 setup_celery_app(
General Comments 0
You need to be logged in to leave comments. Login now