Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: chrome/browser/policy/device_management_service.cc

Issue 10827069: Log the network error for failed DMServer requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_management_service.cc
diff --git a/chrome/browser/policy/device_management_service.cc b/chrome/browser/policy/device_management_service.cc
index 73870c6fccd88d19fb7aa998bdfa414143e3eb93..aebc8a62dc23dcf3e114039c7c2ce121c594fd17 100644
--- a/chrome/browser/policy/device_management_service.cc
+++ b/chrome/browser/policy/device_management_service.cc
@@ -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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698