Index: omaha_request_action.cc |
diff --git a/omaha_request_action.cc b/omaha_request_action.cc |
index bb2275d2f78e58389702854bb1348b7ebd18e888..7bb3d8bcdf4b5e797174d989508a84bd8276ac52 100644 |
--- a/omaha_request_action.cc |
+++ b/omaha_request_action.cc |
@@ -344,6 +344,11 @@ void OmahaRequestAction::TransferComplete(HttpFetcher *fetcher, |
// Events are best effort transactions -- assume they always succeed. |
if (IsEvent()) { |
CHECK(!HasOutputPipe()) << "No output pipe allowed for event requests."; |
+ if (event_->result == OmahaEvent::kResultError && successful && |
+ utils::IsOfficialBuild()) { |
+ LOG(INFO) << "Signalling Crash Reporter."; |
+ utils::ScheduleCrashReporterUpload(); |
+ } |
completer.set_code(kActionCodeSuccess); |
return; |
} |