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: Mike Frysinger <vapier@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
262d798b38
commit
f27140dd07
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue