Add missing method doc comment

pull/372/head
Pahansith Gunathilake 10 months ago
parent d57be2c00c
commit 7686716cc1

@ -107,6 +107,7 @@ public interface DeviceInformationManager {
* @param deviceType device type of an device
* @param payload payload of the event
* @param eventType Event type being sent
* @return Http status code if a call is made and if failed to make a call 0
* @throws DeviceDetailsMgtException
*/
int publishEvents(String deviceId, String deviceType, String payload, String eventType)

@ -224,6 +224,7 @@ public class DeviceInformationManagerImpl implements DeviceInformationManager {
log.error(msg, e);
throw new DeviceDetailsMgtException(msg, e);
} catch (ExecutionException e) {
//Exceptions thrown in ReportingPublisherManager will be wrapped under this exception
String message = "Failed while publishing device information data to the reporting service for the device "
+ deviceId;
log.error(message, e);

Loading…
Cancel
Save