Commit 20ac639f authored by Jeffrey I. Schiller's avatar Jeffrey I. Schiller Committed by Evan W. Patton

Add Build Fingerprint

Add the source fingerprint, which is the git commit hash, to crash
reports in the log.

Change-Id: Icba88d8a26655fe3ee0917736888bcf973b7af85
parent 9b4ae78e
...@@ -68,6 +68,7 @@ public final class CrashReport { ...@@ -68,6 +68,7 @@ public final class CrashReport {
} }
s.append("build.version").append("=").append(buildData).append("\n"); s.append("build.version").append("=").append(buildData).append("\n");
s.append("git.build.version").append("=").append(GitBuildId.getVersion()).append("\n"); s.append("git.build.version").append("=").append(GitBuildId.getVersion()).append("\n");
s.append("git.build.fingerprint").append("=").append(GitBuildId.getFingerprint()).append("\n");
if (req != null) { if (req != null) {
s.append("request.details").append("=").append(req.toString()).append("\n"); s.append("request.details").append("=").append(req.toString()).append("\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment