log unknown api error

This commit is contained in:
Andrew Dolgov 2011-12-01 11:47:21 +03:00
parent 4a402b6898
commit 08d9b80bb3

View File

@ -201,6 +201,7 @@ public class ApiRequest extends AsyncTask<HashMap<String,String>, Integer, JsonE
} else if (error.equals("API_DISABLED")) {
m_lastError = ApiError.LOGIN_FAILED;
} else {
Log.d(TAG, "Unknown API error: " + error);
m_lastError = ApiError.API_UNKNOWN;
}
}