Commit cbbbff0c authored by Mohamed Amir Yosef's avatar Mohamed Amir Yosef Committed by Commit Bot

[Sync] Enable Crash reporting for Sync errors

This is to debug to linked issue.

Bug: 1044365
Change-Id: I16670f1e2c96bf1ad4832643f496e2eb44202305
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050502
Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org>
Reviewed-by: default avatarMikel Astiz <mastiz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741009}
parent f70cb75a
......@@ -20,7 +20,10 @@ void ReportUnrecoverableError(version_info::Channel channel) {
// Note: crash reporting is disabled, and should only be enabled when
// investigating a specific datatype error. In that event, a specific bug
// should be referenced here.
const double kErrorUploadRatio = 0.00;
// Crash reporting is enabled to debug crbug.com/1044365
// TODO(crbug.com/1044365): Disable crash reporting once the underlying issue
// is identified.
const double kErrorUploadRatio = 0.01;
if (kErrorUploadRatio <= 0.0)
return; // We are not allowed to upload errors.
double random_number = base::RandDouble();
......
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