String error = null;
try {
error = new String(errorResponse, "US-ASCII");
- } catch (UnsupportedEncodingException e1) {
+ } catch (Exception e1) {
}
Log.i("HTTPClient", " Error: " + statusCode + " - " + error);
onCalendarRequestFail(statusCode, error);