| Index: update_attempter.cc
|
| diff --git a/update_attempter.cc b/update_attempter.cc
|
| index a63a1e86e910a8e211c1df90a37f961a7a165edd..2791f675dad3dbd9007ea9b3bb937d718de8a9ee 100644
|
| --- a/update_attempter.cc
|
| +++ b/update_attempter.cc
|
| @@ -282,8 +282,11 @@ void UpdateAttempter::ProcessingDone(const ActionProcessor* processor,
|
|
|
| if (status_ == UPDATE_STATUS_REPORTING_ERROR_EVENT) {
|
| LOG(INFO) << "Error event sent.";
|
| - // Tell crash reporter there was a problem.
|
| - utils::ScheduleCrashReporterUpload();
|
| + if (utils::IsOfficialBuild() && code == kActionCodeSuccess) {
|
| + LOG(INFO) << "Signalling crash reporter.";
|
| + // Tell crash reporter there was a problem.
|
| + utils::ScheduleCrashReporterUpload();
|
| + }
|
| SetStatusAndNotify(UPDATE_STATUS_IDLE);
|
| return;
|
| }
|
|
|