Handling request error.
Merge pull request #1 from bassarisse/master

Handling request error