You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by ra...@apache.org on 2017/04/04 10:22:16 UTC

[22/24] incubator-ariatosca git commit: tiny fix to execution error printing

tiny fix to execution error printing


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/6016e146
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/6016e146
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/6016e146

Branch: refs/heads/ARIA-48-aria-cli
Commit: 6016e14607279d67c9e061e610fe89225bf4946e
Parents: c562426
Author: Ran Ziv <ra...@gigaspaces.com>
Authored: Tue Apr 4 12:07:32 2017 +0300
Committer: Ran Ziv <ra...@gigaspaces.com>
Committed: Tue Apr 4 13:20:46 2017 +0300

----------------------------------------------------------------------
 aria/cli/commands/executions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/6016e146/aria/cli/commands/executions.py
----------------------------------------------------------------------
diff --git a/aria/cli/commands/executions.py b/aria/cli/commands/executions.py
index 82ee51a..635ae63 100644
--- a/aria/cli/commands/executions.py
+++ b/aria/cli/commands/executions.py
@@ -150,7 +150,7 @@ def start(workflow_name,
 
     execution = workflow_runner.execution
     logger.info('Execution has ended with "{0}" status'.format(execution.status))
-    if execution.status == Execution.FAILED:
+    if execution.status == Execution.FAILED and execution.error:
         logger.info('Execution error:\n{0}'.format(execution.error))
 
     if dry: