Add error reporting to curl