Skip to content

Commit a17ce04

Browse files
committed
Adjustment to compensate
1 parent d0b4652 commit a17ce04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines 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)