Merge "Avoid suppressing underlying error when deploy.loadapp fails"
This commit is contained in:
commit
6078653d8b
@ -95,11 +95,11 @@ def serve_wsgi(cls):
|
|||||||
service = cls.create()
|
service = cls.create()
|
||||||
service.start()
|
service.start()
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
LOG.warn(_('Attempting fallback to old Quantum api-paste config'))
|
LOG.exception(_('Error occurred: trying old api-paste.ini.'))
|
||||||
service = cls.create('quantum')
|
service = cls.create('quantum')
|
||||||
service.start()
|
service.start()
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception(_('In serve_wsgi()'))
|
LOG.exception(_('Unrecoverable error: please check log for details.'))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
return service
|
return service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user