logging api response when error
Merge pull request #20 from masarakki/logging_api_error_respose

logging api response when error