airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [15/28] airavata git commit: fixing errors in threads
Date Wed, 15 Apr 2015 20:48:51 GMT
fixing errors in threads


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/be901aa8
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/be901aa8
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/be901aa8

Branch: refs/heads/emailMonitoring
Commit: be901aa87b79d781f54e32b459d39a2d952706fc
Parents: 7f89109
Author: Lahiru Gunathilake <glahiru@gmail.com>
Authored: Tue Apr 14 00:45:53 2015 -0400
Committer: Lahiru Gunathilake <glahiru@gmail.com>
Committed: Tue Apr 14 00:45:53 2015 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/gfac/core/utils/InputHandlerWorker.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/be901aa8/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/InputHandlerWorker.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/InputHandlerWorker.java
b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/InputHandlerWorker.java
index ec7991a..04d1da0 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/InputHandlerWorker.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/utils/InputHandlerWorker.java
@@ -46,11 +46,12 @@ public class InputHandlerWorker implements Runnable {
     }
 
     @Override
-    public void run()  {
+    public void run() {
         try {
             gfac.submitJob(experimentId, taskId, gatewayId);
-        } catch (GFacException e) {
+        } catch (Exception e) {
             log.error(e.getMessage(), e);
+            Thread.currentThread().interrupt();
         }
     }
 }


Mime
View raw message