From 0c20707dcf30a32728fd6bdeeab996c887fdb2fb Mon Sep 17 00:00:00 2001 From: Anthon Pang Date: Mon, 15 Jun 2015 16:19:33 -0400 Subject: [PATCH] Revert "Fix: make sure http errors from the requested resource are caught and exceptions thrown" This reverts commit 3b11d17e0ff0c123ff24a6558e82a4c0e68e7f0c. --- lib/WebDriver/Service/CurlService.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/WebDriver/Service/CurlService.php b/lib/WebDriver/Service/CurlService.php index 54e0172a..7a076630 100755 --- a/lib/WebDriver/Service/CurlService.php +++ b/lib/WebDriver/Service/CurlService.php @@ -87,7 +87,6 @@ public function execute($requestMethod, $url, $parameters = null, $extraOptions } curl_setopt($curl, CURLOPT_HTTPHEADER, $customHeaders); - curl_setopt($curl, CURLOPT_FAILONERROR, true); $rawResult = trim(curl_exec($curl)); $info = curl_getinfo($curl);