log api error response
Merge pull request #21 from masarakki/logging_api_error

log api error response