Skip to content

Commit

Permalink
Merge pull request #150 from staabm/patch-3
Browse files Browse the repository at this point in the history
drop obsolete "return" after throw
  • Loading branch information
rmccue committed Apr 27, 2015
2 parents 5ddd73c + ccd1114 commit 9822168
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/Requests/Transport/cURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ public function process_response($response, $options) {

if (curl_errno($this->fp)) {
throw new Requests_Exception('cURL error ' . curl_errno($this->fp) . ': ' . curl_error($this->fp), 'curlerror', $this->fp);
return;
}
$this->info = curl_getinfo($this->fp);

Expand Down

0 comments on commit 9822168

Please sign in to comment.