You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/10/04 16:53:35 UTC
[airavata] branch staging updated: Minor logging improvement
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/staging by this push:
new 422d866 Minor logging improvement
422d866 is described below
commit 422d866c5e990bf00095b79a12acc3c7abba1ccb
Author: Dimuthu Wannipurage <di...@datasprouts.com>
AuthorDate: Thu Oct 4 12:53:16 2018 -0400
Minor logging improvement
---
.../src/main/java/org/apache/airavata/helix/impl/task/AiravataTask.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/AiravataTask.java b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/AiravataTask.java
index 035fcbc..fdc7526 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/AiravataTask.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/AiravataTask.java
@@ -98,6 +98,7 @@ public abstract class AiravataTask extends AbstractTask {
}
protected TaskResult onFail(String reason, boolean fatal, Throwable error) {
+ logger.error(reason, error);
int currentRetryCount = 1;
try {
currentRetryCount = getCurrentRetryCount();