Merge "Avoid suppressing underlying error when deploy.loadapp fails" into stable/havana

This commit is contained in:
Jenkins 2013-11-03 14:13:55 +00:00 committed by Gerrit Code Review
commit 27ce7b5026
1 changed files with 2 additions and 2 deletions

View File

@ -95,11 +95,11 @@ def serve_wsgi(cls):
service = cls.create()
service.start()
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.start()
except Exception:
LOG.exception(_('In serve_wsgi()'))
LOG.exception(_('Unrecoverable error: please check log for details.'))
raise
return service