Merge "Debug Nova APIs call failures"

This commit is contained in:
Zuul 2022-05-08 16:33:59 +00:00 committed by Gerrit Code Review
commit 972c06c608
1 changed files with 6 additions and 0 deletions

View File

@ -538,6 +538,12 @@ class Resource(wsgi.Application):
with ResourceExceptionHandler():
action_result = self.dispatch(meth, request, action_args)
except Fault as ex:
LOG.debug(f'Request method failure captured:\n'
f' request: {request}\n'
f' method: {meth}\n'
f' exception: {ex}\n'
f' action_args: {action_args}\n',
exc_info=1)
response = ex
if not response: