diff options
author | gangwu <gangwu@chromium.org> | 2015-06-10 17:43:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-11 00:45:00 +0000 |
commit | 2efc98723d56913bc45714ef4ad4e5948a870797 (patch) | |
tree | 0b50be55ccd9b477afabb30b1b14e49eb88c5959 /sync/engine/get_updates_processor.cc | |
parent | 2a65cfecf41fb3dec2c0f5c48f0a647d9a5524c0 (diff) | |
download | chromium_src-2efc98723d56913bc45714ef4ad4e5948a870797.zip chromium_src-2efc98723d56913bc45714ef4ad4e5948a870797.tar.gz chromium_src-2efc98723d56913bc45714ef4ad4e5948a870797.tar.bz2 |
Since Sync auth need to update every 60 minutes, so need to remove SYNC_AUTH_ERROR from log.
BUG=467234
Review URL: https://codereview.chromium.org/1173143002
Cr-Commit-Position: refs/heads/master@{#333863}
Diffstat (limited to 'sync/engine/get_updates_processor.cc')
-rw-r--r-- | sync/engine/get_updates_processor.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sync/engine/get_updates_processor.cc b/sync/engine/get_updates_processor.cc index a33c70d..4fcd058 100644 --- a/sync/engine/get_updates_processor.cc +++ b/sync/engine/get_updates_processor.cc @@ -240,7 +240,14 @@ SyncerError GetUpdatesProcessor::ExecuteDownloadUpdates( base::Time::Now(), update_response, result); session->SendProtocolEvent(response_event); - LOG(ERROR) << "PostClientToServerMessage() failed during GetUpdates"; + // Sync authorization expires every 60 mintues, so SYNC_AUTH_ERROR will + // appear every 60 minutes, and then sync services will refresh the + // authorization. Therefore SYNC_AUTH_ERROR is excluded here to reduce the + // ERROR messages in the log. + if (result != SYNC_AUTH_ERROR) { + LOG(ERROR) << "PostClientToServerMessage() failed during GetUpdates"; + } + return result; } |