do actual logging when http_other_error happens

This commit is contained in:
Andrew Dolgov 2012-10-02 13:28:43 +04:00
parent e5df7452b6
commit 40e6b10a7f

View File

@ -244,6 +244,7 @@ public class ApiRequest extends AsyncTask<HashMap<String,String>, Integer, JsonE
m_lastError = ApiError.HTTP_SERVER_ERROR;
break;
default:
Log.d(TAG, "HTTP response code: " + m_responseCode + "(" + m_responseMessage + ")");
m_lastError = ApiError.HTTP_OTHER_ERROR;
break;
}