Add log message to log the stack trace

in case failed to send an HTTP request

Change-Id: I2fd3cfd1433ca7fe4e372014f0fc1c55901a4003
This commit is contained in:
MosheElisha 2018-05-29 08:23:02 +00:00
parent 573d2d0682
commit ec66e1d945

View File

@ -204,6 +204,10 @@ class HTTPAction(actions.Action):
verify=self.verify
)
except Exception as e:
LOG.exception(
"Failed to send HTTP request for action execution: %s",
context.execution.action_execution_id
)
raise exc.ActionException("Failed to send HTTP request: %s" % e)
LOG.info(