Fixed the issue in server startup- removed error logs

revert-dabc3590
lakshani 8 years ago
parent 46499667ea
commit ffee269a0e

@ -37,15 +37,10 @@ public class MDMComponent {
protected void activate(ComponentContext context) {
BundleContext bundleContext = context.getBundleContext();
if (log.isDebugEnabled()) {
log.debug("WSO2MDM MDM Component activated");
}
try {
mdmServiceRegistration = bundleContext.registerService(ApplicationOperations.class.getName(), new
ApplicationOperationsImpl(), null);
} catch (Throwable e) {
log.error("Failed to activate org.wso2.carbon.appmgt.mdm.restconnector.internal." +
"MDMComponent : " + e);
if (log.isDebugEnabled()) {
log.debug("WSO2MDM MDM Component activated.");
}
}

Loading…
Cancel
Save