|
|
@ -44,11 +44,11 @@ class DefaultElementCallBaseUrlProvider @Inject constructor( |
|
|
|
try { |
|
|
|
try { |
|
|
|
callWellknownAPI.getCallWellKnown().widgetUrl |
|
|
|
callWellknownAPI.getCallWellKnown().widgetUrl |
|
|
|
} catch (e: HttpException) { |
|
|
|
} catch (e: HttpException) { |
|
|
|
Timber.w(e, "Failed to fetch wellknown data") |
|
|
|
|
|
|
|
// Ignore Http 404, but re-throws any other exceptions |
|
|
|
// Ignore Http 404, but re-throws any other exceptions |
|
|
|
if (e.code() != HttpURLConnection.HTTP_NOT_FOUND) { |
|
|
|
if (e.code() != HttpURLConnection.HTTP_NOT_FOUND) { |
|
|
|
throw e |
|
|
|
throw e |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Timber.w(e, "Failed to fetch wellknown data") |
|
|
|
null |
|
|
|
null |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|