cmd/stcrashreceiver, lib/db: Improve panic message handling (#7029)

This commit is contained in:
Simon Frei
2020-10-08 17:37:45 +02:00
committed by GitHub
parent 9d09fd6af3
commit d828adb648
5 changed files with 111 additions and 5 deletions
+1
View File
@@ -88,6 +88,7 @@ func handleFailureFn(dsn string) func(w http.ResponseWriter, req *http.Request)
pkt.Extra = raven.Extra{
"count": r.Count,
}
pkt.Fingerprint = []string{r.Description}
if err := sendReport(dsn, pkt, userIDFor(req)); err != nil {
log.Println("Failed to send crash report:", err)