Return execution state_info in ExternalResource
When a workflow execution fails, we don't return anything information to the user. Let's propage what mistral sends us in the resource failure. Change-Id: Ib412346f12450fa5e6a1291d635debe1a4add380 Story: #2004396 Task: #28025
This commit is contained in:
parent
443864b35e
commit
03154ba711
|
@ -166,7 +166,7 @@ class MistralExternalResource(resource.Resource):
|
|||
|
||||
if execution.state in ('ERROR', 'CANCELLED'):
|
||||
raise exception.ResourceFailure(
|
||||
exception_or_error=execution.state,
|
||||
exception_or_error=execution.state_info,
|
||||
resource=self,
|
||||
action=action)
|
||||
|
||||
|
|
Loading…
Reference in New Issue