Skip to content

Commit 8d43d35

Browse files
author
Caitlin Bales (MSFT)
committed
Update error description
1 parent 82d5cbf commit 8d43d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microsoft/graph/http/UrlConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public Map<String, List<String>> getResponseHeaders() {
120120
try {
121121
list.add(String.format("%d", connection.getResponseCode()));
122122
} catch (IOException e) {
123-
throw new IllegalArgumentException("Invalid connection response code: ", e);
123+
throw new IllegalArgumentException("Invalid connection response code: could not connect to server", e);
124124
}
125125

126126
headerFields.put("responseCode", list);

0 commit comments

Comments
 (0)