summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-09 19:34:49 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-09 19:34:49 +0000
commit086290f25ea3cbbed2523d3058bf45963e5f71a0 (patch)
treeb8f8ce016313ef149b6205d682c000a8497d4153
parentcb60d57fe17a34e6ee9d885496df428bed73778f (diff)
downloadchromium_src-086290f25ea3cbbed2523d3058bf45963e5f71a0.zip
chromium_src-086290f25ea3cbbed2523d3058bf45963e5f71a0.tar.gz
chromium_src-086290f25ea3cbbed2523d3058bf45963e5f71a0.tar.bz2
gdata: Include an error code when a fetch is failed in GDataSyncClient.
This will help us to understand what errors are recoverable. BUG=127119 TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10356079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136093 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/chromeos/gdata/gdata_sync_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_sync_client.cc b/chrome/browser/chromeos/gdata/gdata_sync_client.cc
index 3908aa3..23e0ab9 100644
--- a/chrome/browser/chromeos/gdata/gdata_sync_client.cc
+++ b/chrome/browser/chromeos/gdata/gdata_sync_client.cc
@@ -240,7 +240,7 @@ void GDataSyncClient::OnFetchFileComplete(const std::string& resource_id,
DVLOG(1) << "Fetched " << resource_id << ": " << local_path.value();
} else {
// TODO(satorux): We should re-queue if the error is recoverable.
- LOG(WARNING) << "Failed to fetch " << resource_id;
+ LOG(WARNING) << "Failed to fetch " << resource_id << ": " << error;
}
// Continue the loop.