Merge "Sonar: logging arguments should not require evaluation"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApi.java b/src/main/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApi.java
index caafc7a..8a09fb1 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApi.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/its/jira/restapi/JiraRestApi.java
@@ -138,7 +138,13 @@
       return true;
     }
     if ((failCodes == null) || (!ArrayUtils.contains(failCodes, responseCode))) {
-      throw new IOException("Request failed");
+      throw new IOException(
+          "Request failed: "
+              + conn.getURL()
+              + " - "
+              + conn.getResponseCode()
+              + " - "
+              + conn.getResponseMessage());
     }
     return false;
   }