From ec66e1d945679ccf62e9168685605735d6491e7c Mon Sep 17 00:00:00 2001
From: MosheElisha <moshe.elisha@nokia.com>
Date: Tue, 29 May 2018 08:23:02 +0000
Subject: [PATCH] Add log message to log the stack trace in case failed to send
 an HTTP request

Change-Id: I2fd3cfd1433ca7fe4e372014f0fc1c55901a4003
---
 mistral/actions/std_actions.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mistral/actions/std_actions.py b/mistral/actions/std_actions.py
index 53d5c7cdc..6f7d9dac6 100644
--- a/mistral/actions/std_actions.py
+++ b/mistral/actions/std_actions.py
@@ -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(