commit | 0b32a0ebbbd0b60c8afabc3a28427ddc6c954143 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Nov 28 07:58:33 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 28 07:58:33 2017 +0000 |
tree | 3d455f807f46a7312401ddd92ab88ebaec8d6ac2 | |
parent | a8f7b9fa16e5f472e116816ae5d4db5aae546c49 [diff] | |
parent | ae09617541cf90a3e89bd191b1dcaf42914f0d7c [diff] |
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; }