BaseConfigurationFinder: make the Etebase error catcher more generic.

pull/131/head
Tom Hacohen 4 years ago
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…
Cancel
Save