Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: components/crash/app/breakpad_linux.cc

Issue 583873003: Breakpad Linux: Add some debug logging for crash id generation failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rephrase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/breakpad_linux.cc
diff --git a/components/crash/app/breakpad_linux.cc b/components/crash/app/breakpad_linux.cc
index e9e01f9a305d7ee8169ffae26a5c87ef09c3c2e0..76f1d589607532d49b8aebe9f5ad962f638b4577 100644
--- a/components/crash/app/breakpad_linux.cc
+++ b/components/crash/app/breakpad_linux.cc
@@ -1082,12 +1082,18 @@ void HandleCrashReportId(const char* buf, size_t bytes_read,
WriteNewline();
if (!IsValidCrashReportId(buf, bytes_read, expected_len)) {
#if defined(OS_CHROMEOS)
- static const char msg[] = "Crash_reporter failed to process crash report";
+ static const char msg[] =
+ "System crash-reporter failed to process crash report.";
#else
static const char msg[] = "Failed to get crash dump id.";
#endif
WriteLog(msg, sizeof(msg) - 1);
WriteNewline();
+
+ static const char id_msg[] = "Report Id: ";
+ WriteLog(id_msg, sizeof(id_msg) - 1);
+ WriteLog(buf, bytes_read);
+ WriteNewline();
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698