Skip to content
Prev Previous commit
Next Next commit
Delete exception message code
  • Loading branch information
medb committed Mar 16, 2020
commit b22d1e2646a00594ee31d387140c23d9f9ddb7a6
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ public static GoogleJsonResponseException from(JsonFactory jsonFactory, HttpResp
}
// message
StringBuilder message = HttpResponseException.computeMessageBuffer(response);
if (message.length() > 0) {
message.append("\n");
}
message.append("Request URL: ").append(response.getRequest().getUrl());
if (!com.google.api.client.util.Strings.isNullOrEmpty(detailString)) {
message.append(StringUtils.LINE_SEPARATOR).append(detailString);
builder.setContent(detailString);
Expand Down