diff --git a/core/src/main/java/org/jclouds/http/HttpResponseException.java b/core/src/main/java/org/jclouds/http/HttpResponseException.java index f717a6f16d..dec772f7d6 100644 --- a/core/src/main/java/org/jclouds/http/HttpResponseException.java +++ b/core/src/main/java/org/jclouds/http/HttpResponseException.java @@ -58,7 +58,7 @@ public class HttpResponseException extends RuntimeException { public HttpResponseException(HttpCommand command, HttpResponse response, String content, Throwable cause) { this(String.format("command: %1$s failed with response: %2$s; content: [%3$s]", command.getCurrentRequest() - .getRequestLine(), response.getStatusLine()), command, response, content, cause); + .getRequestLine(), response.getStatusLine(), content), command, response, content, cause); } public HttpResponseException(String message, HttpCommand command, @Nullable HttpResponse response) { @@ -116,4 +116,4 @@ public class HttpResponseException extends RuntimeException { return content; } -} \ No newline at end of file +}