mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix issue in initial location persistence from fresh device
This commit is contained in:
parent
f38c1d4ab3
commit
b352354020
@ -3427,7 +3427,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
deviceLocation.setDistance(Double.parseDouble(distance));
|
||||
deviceLocation.setSpeed(Float.parseFloat(speed));
|
||||
deviceLocation.setBearing(Float.parseFloat(bearing));
|
||||
deviceInformationManager.addDeviceLocation(device, deviceLocation);
|
||||
deviceInformationManager.addDeviceLocation(deviceLocation);
|
||||
} catch (Exception e) {
|
||||
//We are not failing the execution since this is not critical for the functionality. But logging as
|
||||
// a warning for reference.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user