From 5991eeec58864d45b73e9e2174594885773fb50d Mon Sep 17 00:00:00 2001 From: ayyoob Date: Thu, 28 Jul 2016 14:32:30 +0530 Subject: [PATCH] added missing log --- .../main/java/org/coffeeking/api/ConnectedCupServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/samples/connectedcup/component/api/src/main/java/org/coffeeking/api/ConnectedCupServiceImpl.java b/modules/samples/connectedcup/component/api/src/main/java/org/coffeeking/api/ConnectedCupServiceImpl.java index ca23eaf9..5e4247b3 100644 --- a/modules/samples/connectedcup/component/api/src/main/java/org/coffeeking/api/ConnectedCupServiceImpl.java +++ b/modules/samples/connectedcup/component/api/src/main/java/org/coffeeking/api/ConnectedCupServiceImpl.java @@ -147,6 +147,7 @@ public class ConnectedCupServiceImpl implements ConnectedCupService { device.setEnrolmentInfo(enrolmentInfo); return APIUtil.getDeviceManagementService().enrollDevice(device); } catch (DeviceManagementException e) { + log.error("Failed to enroll device with device name :" + name, e); return false; } }