Author: samindaw
Date: Fri Oct 5 03:26:57 2012
New Revision: 1394353
URL: http://svn.apache.org/viewvc?rev=1394353&view=rev
Log:
convert the printstacktrace to a log warning
Modified:
airavata/trunk/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/registry/JCRComponentRegistry.java
Modified:
airavata/trunk/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/registry/JCRComponentRegistry.java
URL:
http://svn.apache.org/viewvc/airavata/trunk/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/registry/JCRComponentRegistry.java?rev=1394353&r1=1394352&r2=1394353&view=diff
==============================================================================
---
airavata/trunk/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/registry/JCRComponentRegistry.java
(original)
+++
airavata/trunk/modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/component/registry/JCRComponentRegistry.java
Fri Oct 5 03:26:57 2012
@@ -78,7 +78,7 @@ public class JCRComponentRegistry extend
}
gatewayName =
provider.getValue(RegistryConstants.KEY_DEFAULT_GATEWAY_ID).toString();
} catch (Exception e) {
- e.printStackTrace();
+ log.warn(e.getMessage());
}
}
if (username==null){