lwm2m: fix bugs in PR commits
This commit is contained in:
parent
29a551d048
commit
ecc9f8fe38
@ -72,7 +72,7 @@ public class LwM2MTransportBootstrapService {
|
||||
server.destroy();
|
||||
log.info("LwM2M transport bootstrap server stopped!");
|
||||
} catch (Exception e) {
|
||||
log.error("", e);
|
||||
log.error("Failed to gracefully stop the LwM2M transport bootstrap server!", e);
|
||||
}
|
||||
}
|
||||
|
||||
@ -122,7 +122,7 @@ public class LwM2MTransportBootstrapService {
|
||||
} else {
|
||||
/* by default trust all */
|
||||
builder.setTrustedCertificates(new X509Certificate[0]);
|
||||
log.info("Unable to load X509 files for BootStrapServer");
|
||||
log.info("Unable to load X509 files for BootStrap Server");
|
||||
dtlsConfig.setAsList(DtlsConfig.DTLS_CIPHER_SUITES, PSK_CIPHER_SUITES);
|
||||
}
|
||||
}
|
||||
|
||||
@ -178,7 +178,7 @@ public class LwM2MBootstrapConfigStoreTaskProvider implements BootstrapTaskProvi
|
||||
serverInstances.put(shortId, instance.getId());
|
||||
});
|
||||
} catch (Exception e) {
|
||||
log.error("", e);
|
||||
log.error("Failed find Server Instance Id. ", e);
|
||||
}
|
||||
if (this.securityInstances != null && this.securityInstances.size() > 0 && this.serverInstances != null && this.serverInstances.size() > 0) {
|
||||
this.findBootstrapServerId();
|
||||
|
||||
@ -104,7 +104,7 @@ public class DefaultLwM2mTransportService implements LwM2MTransportService {
|
||||
server.destroy();
|
||||
log.info("LwM2M transport server stopped!");
|
||||
} catch (Exception e) {
|
||||
log.error("", e);
|
||||
log.error("Failed to gracefully stop the LwM2M transport server!", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user