added libcURL error exception handling