Add curl error info in case of failed request
Merge pull request #16 from gicolek/master

Add curl error info in case of failed request