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

yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 48d40f255888b353c3c710cb59fd652815ec463d
Author: karanrk <[email protected]>
AuthorDate: Thu Nov 22 01:54:27 2018 -0500

    fixing minor error
---
 .../org/apache/airavata/api/server/handler/AiravataServerHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
 
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index d243f5b760..f91e5f7b8a 100644
--- 
a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ 
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -484,8 +484,8 @@ public class AiravataServerHandler implements 
Airavata.Iface {
         try {
             Gateway result = regClient.getGateway(gatewayId);
             registryClientPool.returnResource(regClient);
-            return result;
             logger.debug("Airavata found the gateway with " + gatewayId);
+            return result;
         } catch (Exception e) {
             logger.error("Error while getting the gateway", e);
             AiravataSystemException exception = new AiravataSystemException();

Reply via email to