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:
parent
da26aaa179
commit
a0b2d7754c
@ -97,7 +97,7 @@ class BaseConfigurationFinder(protected val context: Context, protected val cred
|
||||
val client = Client.create(httpClient, uri.toString())
|
||||
val etebase = Account.login(client, credentials.userName, credentials.password)
|
||||
etebaseSession = etebase.save(null)
|
||||
} catch (e: EtebaseException) {
|
||||
} catch (e: java.lang.Exception) {
|
||||
Logger.log.warning(e.localizedMessage)
|
||||
exception = e
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user