diff --git a/velocidi-sdk/src/main/kotlin/com/velocidi/GetAdvertisingIdTask.kt b/velocidi-sdk/src/main/kotlin/com/velocidi/GetAdvertisingIdTask.kt index 6b6d4e3..b7dffc8 100644 --- a/velocidi-sdk/src/main/kotlin/com/velocidi/GetAdvertisingIdTask.kt +++ b/velocidi-sdk/src/main/kotlin/com/velocidi/GetAdvertisingIdTask.kt @@ -37,7 +37,8 @@ internal open class GetAdvertisingIdTask(val listener: (AdvertisingInfo) -> Unit return try { getAdvertisingId(context) } catch (e: Exception) { - throw Exception("Unable to collect advertising ID from Google Play Services.") + Log.w(Constants.LOG_TAG, "Unable to collect advertising ID from Google Play Services.") + AdvertisingInfo("", false) } }