Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f27140dd authored by Mike Frysinger's avatar Mike Frysinger Committed by chrome-internal-fetch
Browse files

crash-reporter: log notification for chrome crashes

The standard crash collector logs a warning message every time it receives
a crash which makes reviewing system logs nice.  The chrome collector does
not do this which makes it a bit harder to track what the system is doing.
Add such a message to the chrome collector too.

BUG=chromium:415220
TEST=`cbuildbot amd64-generic-full` passes

Change-Id: I2b4c9990d99b780ed06d72be40b6ce5b95c1ee51
Reviewed-on: https://chromium-review.googlesource.com/218593


Tested-by: default avatarMike Frysinger <vapier@chromium.org>
Reviewed-by: default avatarBen Chan <benchan@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
parent 262d798b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -142,6 +142,9 @@ bool ChromeCollector::HandleCrash(const FilePath &file_path,
  if (!is_feedback_allowed_function_())
    return true;

  LOG(WARNING) << "Received crash notification for " << exe_name << "["
               << pid_string << "] user " << uid_string << " (called directly)";

  if (exe_name.find('/') != std::string::npos) {
    LOG(ERROR) << "exe_name contains illegal characters: " << exe_name;
    return false;