toshipon / oauth-php

Automatically exported from code.google.com/p/oauth-php
MIT License
0 stars 0 forks source link

throw exceptions for curl errors #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make a request for a server that's unavailable

What is the expected output? What do you see instead?
Expected: An exception with the curl error message
Actually: An empty string as the ['body'] of doRequest()

What version of the product are you using? On what operating system?
98

Please provide any additional information below.
The result from curl_exec() should be caught by comparing it to false.

Original issue reported on code.google.com by tjerk.me...@gmail.com on 11 Mar 2010 at 6:36

GoogleCodeExporter commented 9 years ago
Fixed on SVN. Thaks.

Original comment by brunobg%...@gtempaccount.com on 11 Mar 2010 at 1:38