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 09:07:35 UTC

incubator-ariatosca git commit: tiny fix to execution error printing

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-48-aria-cli 277c4ae82 -> b3d2e0541


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/b3d2e054
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/b3d2e054
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/b3d2e054

Branch: refs/heads/ARIA-48-aria-cli
Commit: b3d2e0541fe01fe92876440b15d10e060ab89a6a
Parents: 277c4ae
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 12:07:32 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/b3d2e054/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: