Small quality fixes

This commit is contained in:
Benoit Marty 2024-06-12 09:13:48 +02:00
parent f2a7a3b8f9
commit 634118ecb8
2 changed files with 4 additions and 4 deletions

View file

@ -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