This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch param-sweep
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/param-sweep by this push:
     new 39f73dd  Minor fix in showing error logs
39f73dd is described below

commit 39f73dd0536b02fd8c2a25ec283ccff74cf33dc2
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Mon Aug 24 15:27:00 2020 -0400

    Minor fix in showing error logs
---
 .../apache/airavata/helix/impl/workflow/ParserWorkflowManager.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/ParserWorkflowManager.java
 
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/ParserWorkflowManager.java
index 0afd08c..9f562e5 100644
--- 
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/ParserWorkflowManager.java
+++ 
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/ParserWorkflowManager.java
@@ -239,8 +239,8 @@ public class ParserWorkflowManager extends WorkflowManager {
                         throw new Exception("Could not find an experiment 
output with name " + applicationOutputName);
                     }
                 } catch (TException e) {
-                    logger.error("Failed while fetching experiment " + 
completionMessage.getExperimentId());
-                    throw new Exception("Failed while fetching experiment " + 
completionMessage.getExperimentId());
+                    logger.error("Failed while fetching experiment " + 
completionMessage.getExperimentId(), e);
+                    throw new Exception("Failed while fetching experiment " + 
completionMessage.getExperimentId(), e);
                 }
             } else {
                 input.setValue(processExpression(templateInput.getValue(), 
completionMessage));

Reply via email to