airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [1/2] airavata git commit: Log exception with stacktrace when API server fails to start
Date Wed, 11 Oct 2017 21:14:15 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 5f04191cb -> 5bf7fce66


Log exception with stacktrace when API server fails to start


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

Branch: refs/heads/develop
Commit: 970dc68e659daf8d633e7aaeb6dceaac063d6725
Parents: 7b0cc0b
Author: Marcus Christie <machristie@apache.org>
Authored: Wed Oct 11 17:12:25 2017 -0400
Committer: Marcus Christie <machristie@apache.org>
Committed: Wed Oct 11 17:12:52 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/airavata/api/server/AiravataAPIServer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/970dc68e/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
index 1dd2d4c..277ab08 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
@@ -155,7 +155,7 @@ public class AiravataAPIServer implements IServer{
 			securityManager.initializeSecurityInfra();
 
         } catch (TTransportException e) {
-            logger.error(e.getMessage());
+            logger.error(e.getMessage(), e);
             setStatus(ServerStatus.FAILED);
 			logger.error("Failed to start API server ...");
 			throw new AiravataSystemException(AiravataErrorType.INTERNAL_ERROR);


Mime
View raw message