From 3b9d2b55c1947e93814ff87d3cf3b473d366cd4e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 24 Jan 2023 14:26:10 +0100 Subject: dashboard: include report elements in the BugReport This will help optimize the detection and addition of missing fields to the existing reports. --- dashboard/app/reporting.go | 1 + 1 file changed, 1 insertion(+) (limited to 'dashboard/app/reporting.go') diff --git a/dashboard/app/reporting.go b/dashboard/app/reporting.go index bb595686b..255296216 100644 --- a/dashboard/app/reporting.go +++ b/dashboard/app/reporting.go @@ -484,6 +484,7 @@ func crashBugReport(c context.Context, bug *Bug, crash *Crash, crashKey *db.Key, NumCrashes: bug.NumCrashes, HappenedOn: managersToRepos(c, bug.Namespace, bug.HappenedOn), Assets: assetList, + ReportElements: &dashapi.ReportElements{GuiltyFiles: crash.ReportElements.GuiltyFiles}, } if bugReporting.CC != "" { rep.CC = append(rep.CC, strings.Split(bugReporting.CC, "|")...) -- cgit mrf-deployment