Ignore exception when logging out
This commit is contained in:
parent
8450a24a91
commit
f29a969425
|
@ -112,6 +112,8 @@ class Api(val context: Context) {
|
||||||
|
|
||||||
override fun onError(e: Throwable) {
|
override fun onError(e: Throwable) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
|
block()
|
||||||
|
then()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onComplete() {
|
override fun onComplete() {
|
||||||
|
|
Loading…
Reference in New Issue