Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a17ce04

Browse filesBrowse files
committed
Adjustment to compensate
1 parent d0b4652 commit a17ce04
Copy full SHA for a17ce04

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/main/java/org/kohsuke/github/Requester.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/Requester.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ private boolean isMethodWithBody() {
452452

453453
try {
454454
return new PagingIterator<T>(type, tailApiUrl, root.getApiURL(s.toString()));
455-
} catch (MalformedURLException e) {
455+
} catch (IOException e) {
456456
throw new GHException("Unable to build github Api URL",e);
457457
}
458458
}
@@ -514,7 +514,7 @@ private void fetch() {
514514
}
515515
}
516516
} catch (IOException e) {
517-
throw new GHException(e);
517+
throw new GHException("Failed to retrieve "+url);
518518
}
519519
}
520520

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.