Wrapped onConfigurableNearbyDeviceFound in try catch block.