mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fixed the issue in server startup- removed error logs
This commit is contained in:
parent
46499667ea
commit
ffee269a0e
@ -37,15 +37,10 @@ public class MDMComponent {
|
|||||||
|
|
||||||
protected void activate(ComponentContext context) {
|
protected void activate(ComponentContext context) {
|
||||||
BundleContext bundleContext = context.getBundleContext();
|
BundleContext bundleContext = context.getBundleContext();
|
||||||
if (log.isDebugEnabled()) {
|
|
||||||
log.debug("WSO2MDM MDM Component activated");
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
mdmServiceRegistration = bundleContext.registerService(ApplicationOperations.class.getName(), new
|
mdmServiceRegistration = bundleContext.registerService(ApplicationOperations.class.getName(), new
|
||||||
ApplicationOperationsImpl(), null);
|
ApplicationOperationsImpl(), null);
|
||||||
} catch (Throwable e) {
|
if (log.isDebugEnabled()) {
|
||||||
log.error("Failed to activate org.wso2.carbon.appmgt.mdm.restconnector.internal." +
|
log.debug("WSO2MDM MDM Component activated.");
|
||||||
"MDMComponent : " + e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user