|
@@ -28,7 +28,7 @@ public class ErrorParse {
|
|
public void parseError(Throwable throwable) {
|
|
public void parseError(Throwable throwable) {
|
|
if (throwable instanceof ApiException) {
|
|
if (throwable instanceof ApiException) {
|
|
ApiException apiException = (ApiException) throwable;
|
|
ApiException apiException = (ApiException) throwable;
|
|
-// ToastUtils.showShort("onError:" + apiException.getErrmsg());
|
|
|
|
|
|
+ ToastUtils.showShort("onError:" + apiException.getErrmsg());
|
|
if (apiException.getErrcode() == TOKEN_INVALID_ERROR_CODE) {
|
|
if (apiException.getErrcode() == TOKEN_INVALID_ERROR_CODE) {
|
|
logOut();
|
|
logOut();
|
|
return;
|
|
return;
|