handle request errors
Merge pull request #28 from tellnes/error

handle request errors