opencart/opencart — pull request #705 by SamStonehouse (2013-06-09 14:45:14+00:00)
Title: Fixed curl error orders

Attempting to access curl_error after curl_close results in an unidentified handle error (if there is an error with cURL, i.e. unknown host.)

See http://stackoverflow.com/questions/2509926/unknown-curl-error

Was the cause of things like this http://forum.opencart.com/viewtopic.php?t=13190 it should now give proper error codes