Skip to content

Commit 25a3c19

Browse files
author
Matt Bernier
authored
Merge pull request sendgrid#30 from ProZsolt/master
Disable CURLOPT_FAILONERROR
2 parents 8286264 + 8547aa8 commit 25a3c19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Client.php

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public function makeRequest($method, $url, $body = null, $headers = null, $retry
152152
CURLOPT_HEADER => 1,
153153
CURLOPT_CUSTOMREQUEST => strtoupper($method),
154154
CURLOPT_SSL_VERIFYPEER => false,
155+
CURLOPT_FAILONERROR => false,
155156
] + $this->curlOptions);
156157

157158
if (isset($headers)) {

0 commit comments

Comments
 (0)