Add helpful comments

* Add curl info output to failed api requests
* Add more complete error details