cmd/stcrashreceiver: Add tag for report type (crash/failure) (#7374)

This commit is contained in:
Simon Frei
2021-02-18 13:16:32 +00:00
committed by GitHub
parent 342ade501a
commit 0970aed596
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func handleFailureFn(dsn string) func(w http.ResponseWriter, req *http.Request)
return
}
for _, r := range reports {
pkt := packet(version)
pkt := packet(version, "failure")
pkt.Message = r.Description
pkt.Extra = raven.Extra{
"count": r.Count,