We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
makeCall()
1 parent 207a872 commit f2b1ceaCopy full SHA for f2b1cea
src/main/java/com/sendgrid/SendGrid.java
@@ -91,13 +91,7 @@ public void setHost(String host) {
91
* Class makeCall makes the call to the SendGrid API, override this method for testing.
92
*/
93
public Response makeCall(Request request) throws IOException {
94
- Response response = new Response();
95
- try {
96
- response = client.api(request);
97
- } catch (IOException ex) {
98
- throw ex;
99
- }
100
- return response;
+ return client.api(request);
101
}
102
103
/**
0 commit comments