From 2ab542e45dced1e4ac1055789edcfbb565e665fc Mon Sep 17 00:00:00 2001 From: Zsolt Prontvai Date: Wed, 11 Oct 2017 14:52:07 +0200 Subject: [PATCH] Disable CURLOPT_FAILONERROR --- lib/Client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Client.php b/lib/Client.php index d3ca94d..37da48f 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -152,6 +152,7 @@ public function makeRequest($method, $url, $body = null, $headers = null, $retry CURLOPT_HEADER => 1, CURLOPT_CUSTOMREQUEST => strtoupper($method), CURLOPT_SSL_VERIFYPEER => false, + CURLOPT_FAILONERROR => false, ] + $this->curlOptions); if (isset($headers)) {