|
@@ -84,11 +84,7 @@ public abstract class BaseActivity<V extends ViewBinding> extends RxAppCompatAct
|
|
|
@Override
|
|
|
public void onError(@NonNull Throwable throwable) {
|
|
|
throwable.printStackTrace();
|
|
|
- if (throwable instanceof ApiException) {
|
|
|
- ErrorParse.getInstance().parseError(throwable);
|
|
|
- ApiException apiException = (ApiException) throwable;
|
|
|
-// ToastUtils.showShort("onError:" + apiException.getErrmsg());
|
|
|
- }
|
|
|
+ ErrorParse.getInstance().parseError(throwable);
|
|
|
}
|
|
|
|
|
|
public V getViewBinding() {
|