Skip to content

Commit 2ab542e

Browse files
committed
Disable CURLOPT_FAILONERROR
1 parent 8d671f5 commit 2ab542e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Client.php

Lines changed: 1 addition & 0 deletions
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)