File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/io/ipinfo/api/request Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >io.ipinfo</groupId >
88 <artifactId >ipinfo-api</artifactId >
9- <version >1.0 -SNAPSHOT</version >
9+ <version >1.1 -SNAPSHOT</version >
1010 <packaging >jar</packaging >
1111
1212 <parent >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public ASNResponse handle() throws RateLimitedException {
2828 try {
2929 return gson .fromJson (response .body ().string (), ASNResponse .class );
3030 } catch (Exception ex ) {
31- throw new ErrorResponseException ();
31+ throw new ErrorResponseException (ex );
3232 }
3333 }
3434 }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public IPResponse handle() throws RateLimitedException {
2727 try {
2828 return gson .fromJson (response .body ().string (), IPResponse .class );
2929 } catch (Exception ex ) {
30- throw new ErrorResponseException ();
30+ throw new ErrorResponseException (ex );
3131 }
3232 }
3333 }
You can’t perform that action at this time.
0 commit comments