Fixed logging of error messages. (response.error.message does not exist)
Merge pull request #4 from Shyp/master

Fixed logging of error messages. (response.error.message does not exist)