1
0
mirror of https://github.com/etesync/android synced 2024-12-23 07:08:16 +00:00

BaseConfigurationFinder: make the Etebase error catcher more generic.

This commit is contained in:
Tom Hacohen 2020-09-16 18:52:14 +03:00
parent da26aaa179
commit a0b2d7754c

View File

@ -97,7 +97,7 @@ class BaseConfigurationFinder(protected val context: Context, protected val cred
val client = Client.create(httpClient, uri.toString()) val client = Client.create(httpClient, uri.toString())
val etebase = Account.login(client, credentials.userName, credentials.password) val etebase = Account.login(client, credentials.userName, credentials.password)
etebaseSession = etebase.save(null) etebaseSession = etebase.save(null)
} catch (e: EtebaseException) { } catch (e: java.lang.Exception) {
Logger.log.warning(e.localizedMessage) Logger.log.warning(e.localizedMessage)
exception = e exception = e
} }