Small quality fixes
This commit is contained in:
parent
f2a7a3b8f9
commit
634118ecb8
2 changed files with 4 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ class DefaultElementCallBaseUrlProvider @Inject constructor(
|
|||
} 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 /* 404 */) {
|
||||
if (e.code() != HttpURLConnection.HTTP_NOT_FOUND) {
|
||||
throw e
|
||||
}
|
||||
null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue