Log the network error for failed DMServer requests.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10827069

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148745 0039d316-1c4b-4281-b951-d872f2087c98
parent 62498a4a
......@@ -314,6 +314,8 @@ void DeviceManagementRequestJobImpl::HandleResponse(
const net::ResponseCookies& cookies,
const std::string& data) {
if (status.status() != net::URLRequestStatus::SUCCESS) {
LOG(WARNING) << "DMServer request failed, status: " << status.status()
<< ", error: " << status.error();
ReportError(DM_STATUS_REQUEST_FAILED);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment