Handle HTTP error to avoid throwing exceptions
Merge pull request #32 from forty/master

Handle HTTP error to avoid throwing exceptions