Do not log error in case of 404.
This commit is contained in:
parent
f87047b899
commit
dc7e56eb87
1 changed files with 1 additions and 1 deletions
|
|
@ -44,11 +44,11 @@ class DefaultElementCallBaseUrlProvider @Inject constructor(
|
|||
try {
|
||||
callWellknownAPI.getCallWellKnown().widgetUrl
|
||||
} catch (e: HttpException) {
|
||||
Timber.w(e, "Failed to fetch wellknown data")
|
||||
// Ignore Http 404, but re-throws any other exceptions
|
||||
if (e.code() != HttpURLConnection.HTTP_NOT_FOUND) {
|
||||
throw e
|
||||
}
|
||||
Timber.w(e, "Failed to fetch wellknown data")
|
||||
null
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue