Don't try to process API errors as responses
Merge pull request #3 from alexzorin/error_handling

Don't try to process API errors as responses