Skip to content

Commit

Permalink
update_client: RequestSender logs response_body instead of the error
Browse files Browse the repository at this point in the history
Fixed: 1427733
Change-Id: I7c666bf2a26074b99f6ad95c13c4886363581d6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4371253
Auto-Submit: Sorin Jianu <[email protected]>
Commit-Queue: S Ganesh <[email protected]>
Commit-Queue: Sorin Jianu <[email protected]>
Reviewed-by: S Ganesh <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1122046}
  • Loading branch information
sorinj authored and Chromium LUCI CQ committed Mar 25, 2023
1 parent 2dd66b5 commit ab5e677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/update_client/request_sender.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ void RequestSender::SendInternalComplete(
const std::string& response_cup_server_proof,
int retry_after_sec) {
VLOG(2) << "Omaha response received: " << response_body;
VLOG_IF(2, error) << "Omaha send error: " << error;

if (!error) {
if (!use_signing_) {
Expand Down Expand Up @@ -159,7 +160,6 @@ void RequestSender::SendInternalComplete(
return;
}

VLOG(2) << "Omaha send error: " << response_body;
HandleSendError(error, retry_after_sec);
}

Expand Down

0 comments on commit ab5e677

Please sign in to comment.